svn commit: r209203 - projects/clangbsd/sys/boot/i386/boot2
Roman Divacky
rdivacky at FreeBSD.org
Tue Jun 15 13:13:13 UTC 2010
Author: rdivacky
Date: Tue Jun 15 13:13:12 2010
New Revision: 209203
URL: http://svn.freebsd.org/changeset/base/209203
Log:
make memcpy static and fix the previous commit style
Modified:
projects/clangbsd/sys/boot/i386/boot2/boot2.c
Modified: projects/clangbsd/sys/boot/i386/boot2/boot2.c
==============================================================================
--- projects/clangbsd/sys/boot/i386/boot2/boot2.c Tue Jun 15 13:08:03 2010 (r209202)
+++ projects/clangbsd/sys/boot/i386/boot2/boot2.c Tue Jun 15 13:13:12 2010 (r209203)
@@ -151,8 +151,8 @@ static int xputc(int);
static int xgetc(int);
static int getc(int);
-void memcpy(void *, const void *, int);
-void __noinline
+static void memcpy(void *, const void *, int);
+static __noinline void
memcpy(void *dst, const void *src, int len)
{
const char *s = src;
@@ -162,7 +162,7 @@ memcpy(void *dst, const void *src, int l
*d++ = *s++;
}
-static int
+static inline int
strcmp(const char *s1, const char *s2)
{
for (; *s1 == *s2 && *s1; s1++, s2++);
@@ -601,7 +601,7 @@ printf(const char *fmt,...)
return;
}
-static void __noinline
+static __noinline void
putchar(int c)
{
if (c == '\n')
More information about the svn-src-projects
mailing list