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/include/exportfs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'support/include/exportfs.h') diff --git a/support/include/exportfs.h b/support/include/exportfs.h index 0da8566..8e54833 100644 --- a/support/include/exportfs.h +++ b/support/include/exportfs.h @@ -128,7 +128,7 @@ struct addrinfo * client_resolve(const struct sockaddr *sap); int client_member(const char *client, const char *name); -int export_read(char *fname); +void export_read(char *fname); void export_add(nfs_export *); void export_reset(nfs_export *); nfs_export * export_lookup(char *hname, char *path, int caconical); -- cgit