Module Name:    src
Committed By:   joerg
Date:           Sun Sep  4 20:24:59 UTC 2011

Modified Files:
        src/usr.bin/fold: fold.c

Log Message:
static + __dead


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/usr.bin/fold/fold.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/fold/fold.c
diff -u src/usr.bin/fold/fold.c:1.16 src/usr.bin/fold/fold.c:1.17
--- src/usr.bin/fold/fold.c:1.16	Tue Jul 21 01:35:02 2009
+++ src/usr.bin/fold/fold.c	Sun Sep  4 20:24:59 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: fold.c,v 1.16 2009/07/21 01:35:02 ahoka Exp $	*/
+/*	$NetBSD: fold.c,v 1.17 2011/09/04 20:24:59 joerg Exp $	*/
 
 /*-
  * Copyright (c) 1990, 1993
@@ -42,7 +42,7 @@
 #if 0
 static char sccsid[] = "@(#)fold.c	8.1 (Berkeley) 6/6/93";
 #endif
-__RCSID("$NetBSD: fold.c,v 1.16 2009/07/21 01:35:02 ahoka Exp $");
+__RCSID("$NetBSD: fold.c,v 1.17 2011/09/04 20:24:59 joerg Exp $");
 #endif /* not lint */
 
 #include <limits.h>
@@ -55,13 +55,12 @@
 
 #define	DEFLINEWIDTH	80
 
-	int	main(int, char **);
 static	void	fold(int);
 static	int	new_column_position(int, wint_t);
-static	void	usage(void);
+__dead static	void	usage(void);
 
-int count_bytes = 0;
-int split_words = 0;
+static int count_bytes = 0;
+static int split_words = 0;
 
 int
 main(int argc, char **argv)

Reply via email to