mirror of
https://github.com/openvswitch/ovs
synced 2025-09-03 15:55:19 +00:00
util: Fix non-ANSI function declaration.
This patch fixes the following sparse warning: "non-ANSI function declaration of function 'get_program_version'"
This commit is contained in:
@@ -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.
|
* caller must not modify or free the returned string.
|
||||||
*/
|
*/
|
||||||
const char *
|
const char *
|
||||||
get_program_version()
|
get_program_version(void)
|
||||||
{
|
{
|
||||||
return program_version;
|
return program_version;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user