From c71c6043a7617e6e6c2b8748550014f54476faa7 Mon Sep 17 00:00:00 2001 From: Ethan Jackson Date: Thu, 4 Aug 2011 13:20:30 -0700 Subject: [PATCH] util: Fix non-ANSI function declaration. This patch fixes the following sparse warning: "non-ANSI function declaration of function 'get_program_version'" --- lib/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.30.2