summaryrefslogtreecommitdiffstats
path: root/sys/boot
diff options
context:
space:
mode:
authorrdivacky <rdivacky@FreeBSD.org>2011-04-06 17:29:40 +0000
committerrdivacky <rdivacky@FreeBSD.org>2011-04-06 17:29:40 +0000
commit1f9ba05458bd93ceac8e442ead548c21930d610b (patch)
tree40f18cb2753e825701b402a61837c3587bdd9274 /sys/boot
parentd6f4192036c8ed6ef963cdb7793404025756ab06 (diff)
downloadFreeBSD-src-1f9ba05458bd93ceac8e442ead548c21930d610b.zip
FreeBSD-src-1f9ba05458bd93ceac8e442ead548c21930d610b.tar.gz
Mark getc() as inline, this has no effect on gcc but helps clang.
Approved by: jhb
Diffstat (limited to 'sys/boot')
-rw-r--r--sys/boot/i386/boot2/boot2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/i386/boot2/boot2.c b/sys/boot/i386/boot2/boot2.c
index 6300545..bac151c 100644
--- a/sys/boot/i386/boot2/boot2.c
+++ b/sys/boot/i386/boot2/boot2.c
@@ -148,7 +148,7 @@ static int drvread(void *, unsigned, unsigned);
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
OpenPOWER on IntegriCloud