Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Jan 2010 21:53:41 +0000 (UTC)
From:      Ed Schouten <ed@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r202531 - head/sbin/natd
Message-ID:  <201001172153.o0HLrfWE056363@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ed
Date: Sun Jan 17 21:53:41 2010
New Revision: 202531
URL: http://svn.freebsd.org/changeset/base/202531

Log:
  Mute some (hidden) warnings about old-style function definitions.
  
  Submitted by:	Marius NĂ¼nnerich <marius nuenneri ch>

Modified:
  head/sbin/natd/natd.c

Modified: head/sbin/natd/natd.c
==============================================================================
--- head/sbin/natd/natd.c	Sun Jan 17 21:40:05 2010	(r202530)
+++ head/sbin/natd/natd.c	Sun Jan 17 21:53:41 2010	(r202531)
@@ -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* fileNam
 	fclose (file);
 }
 
-static void Usage ()
+static void Usage(void)
 {
 	int			i;
 	int			max;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001172153.o0HLrfWE056363>