summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gpxe/image.h1
-rw-r--r--src/include/usr/imgmgmt.h3
2 files changed, 2 insertions, 2 deletions
diff --git a/src/include/gpxe/image.h b/src/include/gpxe/image.h
index 08a1dd905..7f09d9c6e 100644
--- a/src/include/gpxe/image.h
+++ b/src/include/gpxe/image.h
@@ -113,6 +113,7 @@ extern struct list_head images;
#define for_each_image( image ) \
list_for_each_entry ( (image), &images, list )
+extern struct image * alloc_image ( void );
extern int register_image ( struct image *image );
extern void unregister_image ( struct image *image );
extern void promote_image ( struct image *image );
diff --git a/src/include/usr/imgmgmt.h b/src/include/usr/imgmgmt.h
index 82a65f252..b3cbffbc4 100644
--- a/src/include/usr/imgmgmt.h
+++ b/src/include/usr/imgmgmt.h
@@ -9,8 +9,7 @@
struct image;
-extern int imgfetch ( const char *filename, const char *name,
- struct image **new_image );
+extern int imgfetch ( struct image *image, const char *filename, int load );
extern int imgload ( struct image *image );
extern int imgexec ( struct image *image );
extern struct image * imgautoselect ( void );