From d17a84a056a412f10a85985dc2c43b6fbedd0abd Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Wed, 9 Mar 2011 13:11:35 +0000 Subject: [image] Move the register_and_{select|boot}_image() functions to imgmgmt.c These functions are used only as the "action" parameters to imgdownload() or imgfetch(), and so belong in imgmgmt.c rather than image.c Signed-off-by: Michael Brown --- src/include/usr/imgmgmt.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/include/usr') diff --git a/src/include/usr/imgmgmt.h b/src/include/usr/imgmgmt.h index 6660039c4..4299937fd 100644 --- a/src/include/usr/imgmgmt.h +++ b/src/include/usr/imgmgmt.h @@ -11,6 +11,8 @@ FILE_LICENCE ( GPL2_OR_LATER ); #include +extern int register_and_select_image ( struct image *image ); +extern int register_and_boot_image ( struct image *image ); extern int imgdownload ( struct image *image, struct uri *uri, int ( * action ) ( struct image *image ) ); extern int imgfetch ( struct image *image, const char *uri_string, -- cgit v1.2.3-55-g7522