Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Apr 2011 17:29:41 +0000 (UTC)
From:      Roman Divacky <rdivacky@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r220389 - head/sys/boot/i386/boot2
Message-ID:  <201104061729.p36HTfiO003066@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201104061729.p36HTfiO003066>