Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/uudecode static + __dead
details: https://anonhg.NetBSD.org/src/rev/178d3eefc9ca
branches: trunk
changeset: 769343:178d3eefc9ca
user: joerg <joerg%NetBSD.org@localhost>
date: Tue Sep 06 18:44:26 2011 +0000
description:
static + __dead
diffstat:
usr.bin/uudecode/uudecode.c | 13 ++++++-------
1 files changed, 6 insertions(+), 7 deletions(-)
diffs (44 lines):
diff -r ad491429e1c4 -r 178d3eefc9ca usr.bin/uudecode/uudecode.c
--- a/usr.bin/uudecode/uudecode.c Tue Sep 06 18:43:41 2011 +0000
+++ b/usr.bin/uudecode/uudecode.c Tue Sep 06 18:44:26 2011 +0000
@@ -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());
Home |
Main Index |
Thread Index |
Old Index