svn commit: r285683 - head/sys/boot/arm/ixp425/boot2
John-Mark Gurney
jmg at FreeBSD.org
Sat Jul 18 22:47:47 UTC 2015
Author: jmg
Date: Sat Jul 18 22:47:46 2015
New Revision: 285683
URL: https://svnweb.freebsd.org/changeset/base/285683
Log:
move the prototype to the lib.h header.. This makes more sense, and
it's an API between boot2.c and arm_init.S which calls it..
Modified:
head/sys/boot/arm/ixp425/boot2/boot2.c
head/sys/boot/arm/ixp425/boot2/lib.h
Modified: head/sys/boot/arm/ixp425/boot2/boot2.c
==============================================================================
--- head/sys/boot/arm/ixp425/boot2/boot2.c Sat Jul 18 20:21:25 2015 (r285682)
+++ head/sys/boot/arm/ixp425/boot2/boot2.c Sat Jul 18 22:47:46 2015 (r285683)
@@ -152,8 +152,6 @@ getstr(int c)
}
}
-int main(void);
-
int
main(void)
{
Modified: head/sys/boot/arm/ixp425/boot2/lib.h
==============================================================================
--- head/sys/boot/arm/ixp425/boot2/lib.h Sat Jul 18 20:21:25 2015 (r285682)
+++ head/sys/boot/arm/ixp425/boot2/lib.h Sat Jul 18 22:47:46 2015 (r285683)
@@ -30,6 +30,8 @@
#include <sys/cdefs.h>
#include <sys/param.h>
+int main(void);
+
void DELAY(int);
int getc(int);
More information about the svn-src-all
mailing list