svn commit: r220389 - head/sys/boot/i386/boot2
Roman Divacky
rdivacky at FreeBSD.org
Wed Apr 6 17:29:42 UTC 2011
Author: rdivacky
Date: Wed Apr 6 17:29:40 2011
New Revision: 220389
URL: http://svn.freebsd.org/changeset/base/220389
Log:
Mark getc() as inline, this has no effect on gcc but helps clang.
Approved by: jhb
Modified:
head/sys/boot/i386/boot2/boot2.c
Modified: head/sys/boot/i386/boot2/boot2.c
==============================================================================
--- head/sys/boot/i386/boot2/boot2.c Wed Apr 6 16:59:54 2011 (r220388)
+++ head/sys/boot/i386/boot2/boot2.c Wed Apr 6 17:29:40 2011 (r220389)
@@ -148,7 +148,7 @@ static int drvread(void *, unsigned, uns
static int keyhit(unsigned);
static int xputc(int);
static int xgetc(int);
-static int getc(int);
+static inline int getc(int);
static void memcpy(void *, const void *, int);
static void
More information about the svn-src-head
mailing list