util: Fix non-ANSI function declaration.
authorEthan Jackson <ethan@nicira.com>
Thu, 4 Aug 2011 20:20:30 +0000 (13:20 -0700)
committerEthan Jackson <ethan@nicira.com>
Thu, 4 Aug 2011 20:21:38 +0000 (13:21 -0700)
This patch fixes the following sparse warning:
"non-ANSI function declaration of function 'get_program_version'"

lib/util.c

index 0b82318..d430a50 100644 (file)
@@ -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;
 }