From: Ben Pfaff Date: Thu, 8 Jan 2009 23:24:48 +0000 (-0800) Subject: Make function declarations into prototypes. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23fc4ba45460a2e8c172ddd81e5a8e46e72a2a2d;p=openvswitch Make function declarations into prototypes. Found by -Wmissing-prototypes. --- diff --git a/lib/fatal-signal.c b/lib/fatal-signal.c index e4bc4577..b05bd281 100644 --- a/lib/fatal-signal.c +++ b/lib/fatal-signal.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2008 The Board of Trustees of The Leland Stanford +/* Copyright (c) 2008, 2009 The Board of Trustees of The Leland Stanford * Junior University * * We are making the OpenFlow specification and associated documentation @@ -94,7 +94,7 @@ fatal_signal_add_hook(void (*func)(void *aux), void *aux, bool run_at_exit) * fatal signal hook, so that the hook is not invoked while the data structure * is in an inconsistent state. */ void -fatal_signal_block() +fatal_signal_block(void) { static bool inited = false; if (!inited) { @@ -128,7 +128,7 @@ fatal_signal_block() * fatal_signal_unblock() must be called the same number of times to unblock * signals. */ void -fatal_signal_unblock() +fatal_signal_unblock(void) { assert(block_level > 0); if (--block_level == 0) {