Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Nov 2011 08:16:54 +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: r227180 - head/usr.bin/rwall
Message-ID:  <201111060816.pA68GsCo008986@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



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