svn commit: r227180 - head/usr.bin/rwall

Ed Schouten ed at FreeBSD.org
Sun Nov 6 08:16:54 UTC 2011


Author: ed
Date: Sun Nov  6 08:16:53 2011
New Revision: 227180
URL: http://svn.freebsd.org/changeset/base/227180

Log:
  Add missing static keywords to rwall(1)

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

Modified: head/usr.bin/rwall/rwall.c
==============================================================================
--- head/usr.bin/rwall/rwall.c	Sun Nov  6 08:16:47 2011	(r227179)
+++ head/usr.bin/rwall/rwall.c	Sun Nov  6 08:16:53 2011	(r227180)
@@ -64,11 +64,11 @@ __FBSDID("$FreeBSD$");
 #include <time.h>
 #include <unistd.h>
 
-char *mbuf;
+static char *mbuf;
 
 static char notty[] = "no tty";
 
-void	makemsg(const char *);
+static void	makemsg(const char *);
 static void usage(void);
 
 /* ARGSUSED */
@@ -121,7 +121,7 @@ usage(void)
 	exit(1);
 }
 
-void
+static void
 makemsg(const char *fname)
 {
 	struct tm *lt;


More information about the svn-src-all mailing list