[Midnightbsd-cvs] src [11543] trunk/usr.bin/fold/fold.c: make some vars static

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat Jul 7 16:39:23 EDT 2018


Revision: 11543
          http://svnweb.midnightbsd.org/src/?rev=11543
Author:   laffer1
Date:     2018-07-07 16:39:22 -0400 (Sat, 07 Jul 2018)
Log Message:
-----------
make some vars static

Modified Paths:
--------------
    trunk/usr.bin/fold/fold.c

Modified: trunk/usr.bin/fold/fold.c
===================================================================
--- trunk/usr.bin/fold/fold.c	2018-07-07 20:38:56 UTC (rev 11542)
+++ trunk/usr.bin/fold/fold.c	2018-07-07 20:39:22 UTC (rev 11543)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
 /*-
  * Copyright (c) 1990, 1993
  *	The Regents of the University of California.  All rights reserved.
@@ -43,7 +44,7 @@
 #endif /* not lint */
 
 #include <sys/cdefs.h>
-__MBSDID("$MidnightBSD$");
+__FBSDID("$FreeBSD: stable/10/usr.bin/fold/fold.c 227165 2011-11-06 08:15:23Z ed $");
 
 #include <err.h>
 #include <limits.h>
@@ -61,8 +62,8 @@
 static int newpos(int, wint_t);
 static void usage(void);
 
-int bflag;			/* Count bytes, not columns */
-int sflag;			/* Split on word boundaries */
+static int bflag;		/* Count bytes, not columns */
+static int sflag;		/* Split on word boundaries */
 
 int
 main(int argc, char **argv)



More information about the Midnightbsd-cvs mailing list