summaryrefslogtreecommitdiffstats
path: root/sys/boot
diff options
context:
space:
mode:
authorjmg <jmg@FreeBSD.org>2015-07-18 22:47:46 +0000
committerjmg <jmg@FreeBSD.org>2015-07-18 22:47:46 +0000
commit0d030c5deb07b154496e239e72294c916f5b9860 (patch)
treeb9209897b854c13ad680590a495b5ec5033e9d25 /sys/boot
parent1c6ba1ec44b5763a9dbc2ae9029edaea578ff595 (diff)
downloadFreeBSD-src-0d030c5deb07b154496e239e72294c916f5b9860.zip
FreeBSD-src-0d030c5deb07b154496e239e72294c916f5b9860.tar.gz
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..
Diffstat (limited to 'sys/boot')
-rw-r--r--sys/boot/arm/ixp425/boot2/boot2.c2
-rw-r--r--sys/boot/arm/ixp425/boot2/lib.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/boot/arm/ixp425/boot2/boot2.c b/sys/boot/arm/ixp425/boot2/boot2.c
index aa187fd..e5f4982 100644
--- a/sys/boot/arm/ixp425/boot2/boot2.c
+++ b/sys/boot/arm/ixp425/boot2/boot2.c
@@ -152,8 +152,6 @@ getstr(int c)
}
}
-int main(void);
-
int
main(void)
{
diff --git a/sys/boot/arm/ixp425/boot2/lib.h b/sys/boot/arm/ixp425/boot2/lib.h
index 1679e96..9c88030 100644
--- a/sys/boot/arm/ixp425/boot2/lib.h
+++ b/sys/boot/arm/ixp425/boot2/lib.h
@@ -30,6 +30,8 @@
#include <sys/cdefs.h>
#include <sys/param.h>
+int main(void);
+
void DELAY(int);
int getc(int);
OpenPOWER on IntegriCloud