From 23fc4ba45460a2e8c172ddd81e5a8e46e72a2a2d Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Thu, 8 Jan 2009 15:24:48 -0800 Subject: [PATCH] Make function declarations into prototypes. Found by -Wmissing-prototypes. --- lib/fatal-signal.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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) { -- 2.30.2