From d85c580eebaad93c2dd3dfc72c89088c9d6e0210 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Fri, 1 Nov 2013 09:24:56 +0100 Subject: blspec: Let scan functions return the number of entries found So that callers can detect whether entries are found or not. Signed-off-by: Sascha Hauer --- include/blspec.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/blspec.h') diff --git a/include/blspec.h b/include/blspec.h index a7b189acd0..7b483d312f 100644 --- a/include/blspec.h +++ b/include/blspec.h @@ -33,7 +33,7 @@ int blspec_boot(struct blspec_entry *entry, int verbose, int dryrun); int blspec_boot_devicename(const char *devname, int verbose, int dryrun); -void blspec_scan_devices(struct blspec *blspec); +int blspec_scan_devices(struct blspec *blspec); struct blspec_entry *blspec_entry_default(struct blspec *l); int blspec_scan_devicename(struct blspec *blspec, const char *devname); -- cgit v1.2.3