Module Name: src
Committed By: joerg
Date: Mon Aug 29 13:50:14 UTC 2011
Modified Files:
src/usr.bin/btpin: btpin.c
Log Message:
static + __dead
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/usr.bin/btpin/btpin.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/btpin/btpin.c
diff -u src/usr.bin/btpin/btpin.c:1.5 src/usr.bin/btpin/btpin.c:1.6
--- src/usr.bin/btpin/btpin.c:1.5 Sat May 16 07:18:42 2009
+++ src/usr.bin/btpin/btpin.c Mon Aug 29 13:50:13 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: btpin.c,v 1.5 2009/05/16 07:18:42 plunky Exp $ */
+/* $NetBSD: btpin.c,v 1.6 2011/08/29 13:50:13 joerg Exp $ */
/*-
* Copyright (c) 2006 Itronix Inc.
@@ -33,7 +33,7 @@
#include <sys/cdefs.h>
__COPYRIGHT("@(#) Copyright (c) 2006 Itronix, Inc. All rights reserved.");
-__RCSID("$NetBSD: btpin.c,v 1.5 2009/05/16 07:18:42 plunky Exp $");
+__RCSID("$NetBSD: btpin.c,v 1.6 2011/08/29 13:50:13 joerg Exp $");
#include <sys/types.h>
#include <sys/un.h>
@@ -45,8 +45,7 @@
#include <time.h>
#include <unistd.h>
-int main(int, char *[]);
-void usage(void);
+__dead static void usage(void);
int
main(int ac, char *av[])
@@ -183,7 +182,7 @@
exit(EXIT_SUCCESS);
}
-void
+static void
usage(void)
{