From: Ethan Jackson Date: Thu, 4 Aug 2011 20:20:30 +0000 (-0700) Subject: util: Fix non-ANSI function declaration. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c71c6043a7617e6e6c2b8748550014f54476faa7;p=openvswitch 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 0b82318c..d430a500 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; }