Browse Source

Fix up iscsiboot missing prototype warnings

tags/v0.9.3
Michael Brown 17 years ago
parent
commit
487dc5be56
3 changed files with 8 additions and 0 deletions
  1. 6
    0
      src/include/usr/iscsiboot.h
  2. 1
    0
      src/usr/autoboot.c
  3. 1
    0
      src/usr/iscsiboot.c

+ 6
- 0
src/include/usr/iscsiboot.h View File

1
+#ifndef _USR_ISCSIBOOT_H
2
+#define _USR_ISCSIBOOT_H
3
+
4
+extern int iscsiboot ( const char *root_path );
5
+
6
+#endif /* _USR_ISCSIBOOT_H */

+ 1
- 0
src/usr/autoboot.c View File

26
 #include <usr/route.h>
26
 #include <usr/route.h>
27
 #include <usr/dhcpmgmt.h>
27
 #include <usr/dhcpmgmt.h>
28
 #include <usr/imgmgmt.h>
28
 #include <usr/imgmgmt.h>
29
+#include <usr/iscsiboot.h>
29
 #include <usr/autoboot.h>
30
 #include <usr/autoboot.h>
30
 
31
 
31
 /** @file
32
 /** @file

src/tests/iscsiboot.c → src/usr/iscsiboot.c View File

4
 #include <gpxe/iscsi.h>
4
 #include <gpxe/iscsi.h>
5
 #include <gpxe/dhcp.h>
5
 #include <gpxe/dhcp.h>
6
 #include <int13.h>
6
 #include <int13.h>
7
+#include <usr/iscsiboot.h>
7
 
8
 
8
 int iscsiboot ( const char *root_path ) {
9
 int iscsiboot ( const char *root_path ) {
9
 	struct scsi_device scsi;
10
 	struct scsi_device scsi;

Loading…
Cancel
Save