summaryrefslogtreecommitdiffstats
path: root/sbin/natd
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2010-01-17 21:53:41 +0000
committered <ed@FreeBSD.org>2010-01-17 21:53:41 +0000
commit28ce4863378c02a5d6ccfd80eda5bc33fea44b2d (patch)
treed98668cc7cc91b4ede9c253389a6f31ff240a88c /sbin/natd
parentf9a77ba26579e3f9f2b0eec8ffe1f24442e5a59a (diff)
downloadFreeBSD-src-28ce4863378c02a5d6ccfd80eda5bc33fea44b2d.zip
FreeBSD-src-28ce4863378c02a5d6ccfd80eda5bc33fea44b2d.tar.gz
Mute some (hidden) warnings about old-style function definitions.
Submitted by: Marius NĂ¼nnerich <marius nuenneri ch>
Diffstat (limited to 'sbin/natd')
-rw-r--r--sbin/natd/natd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/natd/natd.c b/sbin/natd/natd.c
index f6b3fdb..184de51 100644
--- a/sbin/natd/natd.c
+++ b/sbin/natd/natd.c
@@ -444,7 +444,7 @@ int main (int argc, char** argv)
return 0;
}
-static void DaemonMode ()
+static void DaemonMode(void)
{
FILE* pidFile;
@@ -1558,7 +1558,7 @@ void ReadConfigFile (const char* fileName)
fclose (file);
}
-static void Usage ()
+static void Usage(void)
{
int i;
int max;
OpenPOWER on IntegriCloud