This patch fixes the following sparse warning:
"non-ANSI function declaration of function 'get_program_version'"
---
lib/util.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lib/util.c b/lib/util.c
index 0b82318..d430a50 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;
}
--
1.7.6
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev