mirror of
https://github.com/ipxe/ipxe
synced 2025-12-11 05:51:37 +03:00
Fix up iscsiboot missing prototype warnings
This commit is contained in:
6
src/include/usr/iscsiboot.h
Normal file
6
src/include/usr/iscsiboot.h
Normal file
@@ -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
Block a user