From 790035f78d6a3b11e049c9df3df41155fd3a12ef Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Tue, 25 Oct 2011 01:41:41 +0100 Subject: [image] Eliminate the register_and_xxx_image() functions All users of imgdownload() require registration of the image, so make registration an integral part of imgdownload() itself and simplify the "action" parameter to be one of image_select(), image_exec() et al. Signed-off-by: Michael Brown --- src/include/usr/imgmgmt.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/include') diff --git a/src/include/usr/imgmgmt.h b/src/include/usr/imgmgmt.h index 1c0a212e3..71d587ba4 100644 --- a/src/include/usr/imgmgmt.h +++ b/src/include/usr/imgmgmt.h @@ -11,11 +11,6 @@ FILE_LICENCE ( GPL2_OR_LATER ); #include -extern int register_and_put_image ( struct image *image ); -extern int register_and_probe_image ( struct image *image ); -extern int register_and_select_image ( struct image *image ); -extern int register_and_boot_image ( struct image *image ); -extern int register_and_replace_image ( struct image *image ); extern int imgdownload ( struct uri *uri, const char *name, const char *cmdline, int ( * action ) ( struct image *image ) ); extern int imgdownload_string ( const char *uri_string, const char *name, -- cgit v1.2.3-55-g7522