mirror of
https://github.com/openvswitch/ovs
synced 2025-10-19 14:37:21 +00:00
db-ctl-base: Add "static" to definition of ctl_exit().
The prototype said "static" but the definition did not. Reported by sparse. Signed-off-by: Ben Pfaff <blp@nicira.com> Acked-by: Alex Wang <alexw@nicira.com>
This commit is contained in:
@@ -1953,7 +1953,7 @@ ctl_fatal(const char *format, ...)
|
||||
* Freeing the transaction and the IDL is not strictly necessary, but it makes
|
||||
* for a clean memory leak report from valgrind in the normal case. That makes
|
||||
* it easier to notice real memory leaks. */
|
||||
void
|
||||
static void
|
||||
ctl_exit(int status)
|
||||
{
|
||||
if (ctl_exit_func) {
|
||||
|
Reference in New Issue
Block a user