mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 06:15:47 +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.
|
||||
*/
|
||||
const char *
|
||||
get_program_version()
|
||||
get_program_version(void)
|
||||
{
|
||||
return program_version;
|
||||
}
|
||||
|
Reference in New Issue
Block a user