Fix up iscsiboot missing prototype warnings
This commit is contained in:
parent
fd4fcb57db
commit
487dc5be56
|
@ -0,0 +1,6 @@
|
||||||
|
#ifndef _USR_ISCSIBOOT_H
|
||||||
|
#define _USR_ISCSIBOOT_H
|
||||||
|
|
||||||
|
extern int iscsiboot ( const char *root_path );
|
||||||
|
|
||||||
|
#endif /* _USR_ISCSIBOOT_H */
|
|
@ -26,6 +26,7 @@
|
||||||
#include <usr/route.h>
|
#include <usr/route.h>
|
||||||
#include <usr/dhcpmgmt.h>
|
#include <usr/dhcpmgmt.h>
|
||||||
#include <usr/imgmgmt.h>
|
#include <usr/imgmgmt.h>
|
||||||
|
#include <usr/iscsiboot.h>
|
||||||
#include <usr/autoboot.h>
|
#include <usr/autoboot.h>
|
||||||
|
|
||||||
/** @file
|
/** @file
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
#include <gpxe/iscsi.h>
|
#include <gpxe/iscsi.h>
|
||||||
#include <gpxe/dhcp.h>
|
#include <gpxe/dhcp.h>
|
||||||
#include <int13.h>
|
#include <int13.h>
|
||||||
|
#include <usr/iscsiboot.h>
|
||||||
|
|
||||||
int iscsiboot ( const char *root_path ) {
|
int iscsiboot ( const char *root_path ) {
|
||||||
struct scsi_device scsi;
|
struct scsi_device scsi;
|
Reference in New Issue