diff options
author | jmg <jmg@FreeBSD.org> | 2015-07-18 22:47:46 +0000 |
---|---|---|
committer | jmg <jmg@FreeBSD.org> | 2015-07-18 22:47:46 +0000 |
commit | 0d030c5deb07b154496e239e72294c916f5b9860 (patch) | |
tree | b9209897b854c13ad680590a495b5ec5033e9d25 | |
parent | 1c6ba1ec44b5763a9dbc2ae9029edaea578ff595 (diff) | |
download | FreeBSD-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..
-rw-r--r-- | sys/boot/arm/ixp425/boot2/boot2.c | 2 | ||||
-rw-r--r-- | sys/boot/arm/ixp425/boot2/lib.h | 2 |
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); |