Module Name:    src
Committed By:   joerg
Date:           Tue Aug 30 21:35:09 UTC 2011

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

Log Message:
static + __dead


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/usr.bin/colrm/colrm.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/colrm/colrm.c
diff -u src/usr.bin/colrm/colrm.c:1.8 src/usr.bin/colrm/colrm.c:1.9
--- src/usr.bin/colrm/colrm.c:1.8	Mon Jul 21 14:19:21 2008
+++ src/usr.bin/colrm/colrm.c	Tue Aug 30 21:35:09 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: colrm.c,v 1.8 2008/07/21 14:19:21 lukem Exp $	*/
+/*	$NetBSD: colrm.c,v 1.9 2011/08/30 21:35:09 joerg Exp $	*/
 
 /*-
  * Copyright (c) 1991, 1993
@@ -39,7 +39,7 @@
 #if 0
 static char sccsid[] = "@(#)colrm.c	8.2 (Berkeley) 5/4/95";
 #endif
-__RCSID("$NetBSD: colrm.c,v 1.8 2008/07/21 14:19:21 lukem Exp $");
+__RCSID("$NetBSD: colrm.c,v 1.9 2011/08/30 21:35:09 joerg Exp $");
 #endif /* not lint */
 
 #include <sys/types.h>
@@ -54,8 +54,8 @@
 
 #define	TAB	8
 
-void	check(FILE *);
-void	usage(void);
+static void	check(FILE *);
+__dead static void	usage(void);
 
 int
 main(int argc, char *argv[])
@@ -120,7 +120,7 @@
 	}
 }
 
-void
+static void
 check(FILE *stream)
 {
 	if (feof(stream))
@@ -129,8 +129,8 @@
 		err(1, "%s", stream == stdin ? "stdin" : "stdout");
 }
 
-void
-usage()
+static void
+usage(void)
 {
 	(void)fprintf(stderr, "usage: colrm [start [stop]]\n");
 	exit(1);

Reply via email to