diff options
author | Michael Brown | 2007-07-09 02:10:32 +0200 |
---|---|---|
committer | Michael Brown | 2007-07-09 02:10:32 +0200 |
commit | 487dc5be562be223512ed22b008c24db63463655 (patch) | |
tree | 0322faaa45b2146b9bc973c9130281b3e1d8a59f | |
parent | Add missing static (diff) | |
download | ipxe-487dc5be562be223512ed22b008c24db63463655.tar.gz ipxe-487dc5be562be223512ed22b008c24db63463655.tar.xz ipxe-487dc5be562be223512ed22b008c24db63463655.zip |
Fix up iscsiboot missing prototype warnings
-rw-r--r-- | src/include/usr/iscsiboot.h | 6 | ||||
-rw-r--r-- | src/usr/autoboot.c | 1 | ||||
-rw-r--r-- | src/usr/iscsiboot.c (renamed from src/tests/iscsiboot.c) | 1 |
3 files changed, 8 insertions, 0 deletions
diff --git a/src/include/usr/iscsiboot.h b/src/include/usr/iscsiboot.h new file mode 100644 index 00000000..b17951d5 --- /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 277e8b09..97b9a406 100644 --- a/src/usr/autoboot.c +++ b/src/usr/autoboot.c @@ -26,6 +26,7 @@ #include <usr/route.h> #include <usr/dhcpmgmt.h> #include <usr/imgmgmt.h> +#include <usr/iscsiboot.h> #include <usr/autoboot.h> /** @file diff --git a/src/tests/iscsiboot.c b/src/usr/iscsiboot.c index 9331357d..f3910f14 100644 --- a/src/tests/iscsiboot.c +++ b/src/usr/iscsiboot.c @@ -4,6 +4,7 @@ #include <gpxe/iscsi.h> #include <gpxe/dhcp.h> #include <int13.h> +#include <usr/iscsiboot.h> int iscsiboot ( const char *root_path ) { struct scsi_device scsi; |