projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
264ecd6
)
util: Fix non-ANSI function declaration.
author
Ethan Jackson
<ethan@nicira.com>
Thu, 4 Aug 2011 20:20:30 +0000
(13:20 -0700)
committer
Ethan 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
patch
|
blob
|
history
diff --git
a/lib/util.c
b/lib/util.c
index 0b82318cab8d225b63fbc24d55d1f2910d020248..d430a500728df385abd7d76c1d2e11f913e4b144 100644
(file)
--- 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;
}