From: Ethan Jackson Date: Thu, 4 Aug 2011 20:20:30 +0000 (-0700) Subject: util: Fix non-ANSI function declaration. X-Git-Tag: v1.3.0~486 X-Git-Url: http://git.onelab.eu/?p=sliver-openvswitch.git;a=commitdiff_plain;h=c71c6043a7617e6e6c2b8748550014f54476faa7 util: Fix non-ANSI function declaration. This patch fixes the following sparse warning: "non-ANSI function declaration of function 'get_program_version'" --- diff --git a/lib/util.c b/lib/util.c index 0b82318ca..d430a5007 100644 --- a/lib/util.c +++ b/lib/util.c @@ -303,7 +303,7 @@ set_program_name__(const char *argv0, const char *date, const char *time) * caller must not modify or free the returned string. */ const char * -get_program_version() +get_program_version(void) { return program_version; }