2
0
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:
Ben Pfaff
2015-07-20 11:20:05 -07:00
parent 0ad9ae8834
commit bccd843bb1

View File

@@ -1953,7 +1953,7 @@ ctl_fatal(const char *format, ...)
* Freeing the transaction and the IDL is not strictly necessary, but it makes * 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 * for a clean memory leak report from valgrind in the normal case. That makes
* it easier to notice real memory leaks. */ * it easier to notice real memory leaks. */
void static void
ctl_exit(int status) ctl_exit(int status)
{ {
if (ctl_exit_func) { if (ctl_exit_func) {