From ae1f5a71f20b3c89d5a6d829ca955fb8e1088d0a Mon Sep 17 00:00:00 2001 From: Roman Divacky Date: Wed, 6 Apr 2011 17:29:40 +0000 Subject: [PATCH] Mark getc() as inline, this has no effect on gcc but helps clang. Approved by: jhb --- sys/boot/i386/boot2/boot2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/boot/i386/boot2/boot2.c b/sys/boot/i386/boot2/boot2.c index 6300545cd176..bac151cf4796 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