From: Michael Brown Date: Mon, 9 Jul 2007 00:10:32 +0000 (+0100) Subject: Fix up iscsiboot missing prototype warnings X-Git-Tag: v0.9.3~236 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=487dc5be562be223512ed22b008c24db63463655;p=thirdparty%2Fipxe.git Fix up iscsiboot missing prototype warnings --- diff --git a/src/include/usr/iscsiboot.h b/src/include/usr/iscsiboot.h new file mode 100644 index 000000000..b17951d56 --- /dev/null +++ b/src/include/usr/iscsiboot.h @@ -0,0 +1,6 @@ +#ifndef _USR_ISCSIBOOT_H +#define _USR_ISCSIBOOT_H + +extern int iscsiboot ( const char *root_path ); + +#endif /* _USR_ISCSIBOOT_H */ diff --git a/src/usr/autoboot.c b/src/usr/autoboot.c index 277e8b09e..97b9a4067 100644 --- a/src/usr/autoboot.c +++ b/src/usr/autoboot.c @@ -26,6 +26,7 @@ #include #include #include +#include #include /** @file diff --git a/src/tests/iscsiboot.c b/src/usr/iscsiboot.c similarity index 97% rename from src/tests/iscsiboot.c rename to src/usr/iscsiboot.c index 9331357d7..f3910f149 100644 --- a/src/tests/iscsiboot.c +++ b/src/usr/iscsiboot.c @@ -4,6 +4,7 @@ #include #include #include +#include int iscsiboot ( const char *root_path ) { struct scsi_device scsi;