Module Name: src
Committed By: joerg
Date: Mon Aug 29 14:05:09 UTC 2011
Modified Files:
src/usr.bin/chflags: chflags.c
Log Message:
static + __dead
To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/usr.bin/chflags/chflags.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/chflags/chflags.c
diff -u src/usr.bin/chflags/chflags.c:1.15 src/usr.bin/chflags/chflags.c:1.16
--- src/usr.bin/chflags/chflags.c:1.15 Mon Jul 21 14:19:21 2008
+++ src/usr.bin/chflags/chflags.c Mon Aug 29 14:05:08 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: chflags.c,v 1.15 2008/07/21 14:19:21 lukem Exp $ */
+/* $NetBSD: chflags.c,v 1.16 2011/08/29 14:05:08 joerg Exp $ */
/*
* Copyright (c) 1992, 1993, 1994
@@ -39,7 +39,7 @@
#if 0
static char sccsid[] = "from: @(#)chflags.c 8.5 (Berkeley) 4/1/94";
#else
-__RCSID("$NetBSD: chflags.c,v 1.15 2008/07/21 14:19:21 lukem Exp $");
+__RCSID("$NetBSD: chflags.c,v 1.16 2011/08/29 14:05:08 joerg Exp $");
#endif
#endif /* not lint */
@@ -55,7 +55,7 @@
#include <unistd.h>
#include <util.h>
-void usage(void);
+__dead static void usage(void);
int
main(int argc, char *argv[])
@@ -191,7 +191,7 @@
exit(rval);
}
-void
+static void
usage(void)
{