Date: Tue, 15 Jun 2010 13:13:12 +0000 (UTC) From: Roman Divacky <rdivacky@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r209203 - projects/clangbsd/sys/boot/i386/boot2 Message-ID: <201006151313.o5FDDCI1088213@svn.freebsd.org>
index | next in thread | raw e-mail
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')help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006151313.o5FDDCI1088213>
