Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Dec 2009 08:54:03 +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: r201181 - head/usr.bin/wc
Message-ID:  <200912290854.nBT8s3fv017197@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ed
Date: Tue Dec 29 08:54:03 2009
New Revision: 201181
URL: http://svn.freebsd.org/changeset/base/201181

Log:
  Add missing `void' keyword for function without arguments.

Modified:
  head/usr.bin/wc/wc.c

Modified: head/usr.bin/wc/wc.c
==============================================================================
--- head/usr.bin/wc/wc.c	Tue Dec 29 08:49:43 2009	(r201180)
+++ head/usr.bin/wc/wc.c	Tue Dec 29 08:54:03 2009	(r201181)
@@ -287,7 +287,7 @@ word:	gotsp = 1;
 }
 
 static void
-usage()
+usage(void)
 {
 	(void)fprintf(stderr, "usage: wc [-Lclmw] [file ...]\n");
 	exit(1);



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