From 8940675a20967145b37a596334c25a54804435cc Mon Sep 17 00:00:00 2001 From: Chuck Lever Date: Tue, 22 Jun 2010 12:43:55 -0400 Subject: libexport.a: Make export_read() return void Clean up: export_read()'s return value is always zero, and its only caller never checks it. Signed-off-by: Chuck Lever Signed-off-by: Steve Dickson --- support/export/export.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'support/export') diff --git a/support/export/export.c b/support/export/export.c index 919a244..1800efd 100644 --- a/support/export/export.c +++ b/support/export/export.c @@ -58,7 +58,12 @@ static void warn_duplicated_exports(nfs_export *exp, struct exportent *eep) } } -int +/** + * export_read - read entries from /etc/exports + * @fname: name of file to read from + * + */ +void export_read(char *fname) { struct exportent *eep; @@ -73,7 +78,6 @@ export_read(char *fname) warn_duplicated_exports(exp, eep); } endexportent(); - return 0; } /* -- cgit