Module Name:    src
Committed By:   joerg
Date:           Tue Sep  6 18:44:26 UTC 2011

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

Log Message:
static + __dead


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/usr.bin/uudecode/uudecode.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/uudecode/uudecode.c
diff -u src/usr.bin/uudecode/uudecode.c:1.25 src/usr.bin/uudecode/uudecode.c:1.26
--- src/usr.bin/uudecode/uudecode.c:1.25	Tue Apr 14 06:16:59 2009
+++ src/usr.bin/uudecode/uudecode.c	Tue Sep  6 18:44:26 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: uudecode.c,v 1.25 2009/04/14 06:16:59 lukem Exp $	*/
+/*	$NetBSD: uudecode.c,v 1.26 2011/09/06 18:44:26 joerg Exp $	*/
 
 /*-
  * Copyright (c) 1983, 1993
@@ -40,7 +40,7 @@
 #if 0
 static char sccsid[] = "@(#)uudecode.c	8.2 (Berkeley) 4/2/94";
 #endif
-__RCSID("$NetBSD: uudecode.c,v 1.25 2009/04/14 06:16:59 lukem Exp $");
+__RCSID("$NetBSD: uudecode.c,v 1.26 2011/09/06 18:44:26 joerg Exp $");
 #endif /* not lint */
 
 /*
@@ -68,13 +68,12 @@
 #endif
 
 static int decode(void);
-static void usage(void);
+__dead static void usage(void);
 static int checkend(const char *, const char *, const char *);
 static int base64_decode(void);
-int main(int, char *[]);
 
-int base64, pflag;
-const char *filename;
+static int base64, pflag;
+static const char *filename;
 
 int
 main(int argc, char *argv[])
@@ -286,7 +285,7 @@
 }
 
 static void
-usage()
+usage(void)
 {
 	(void)fprintf(stderr, "usage: %s [-m | -p] [encoded-file ...]\n",
 		      getprogname());

Reply via email to