summaryrefslogtreecommitdiff
path: root/usr.sbin/pcictl
diff options
context:
space:
mode:
authorjoerg <joerg@NetBSD.org>2011-08-30 20:08:38 +0000
committerjoerg <joerg@NetBSD.org>2011-08-30 20:08:38 +0000
commite76643455be114b5f85fd3f9289ad6659e5a2436 (patch)
treefca37c1d279a91b9eeb2bfe39b8c3047a22ec6b8 /usr.sbin/pcictl
parent0c941ea95a85f2bf71f3a30da8e86299a683f569 (diff)
static + __dead
Diffstat (limited to 'usr.sbin/pcictl')
-rw-r--r--usr.sbin/pcictl/pcictl.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/usr.sbin/pcictl/pcictl.c b/usr.sbin/pcictl/pcictl.c
index f287d491fb6..7a7ab2ecded 100644
--- a/usr.sbin/pcictl/pcictl.c
+++ b/usr.sbin/pcictl/pcictl.c
@@ -1,4 +1,4 @@
-/* $NetBSD: pcictl.c,v 1.17 2011/02/25 21:40:48 jmcneill Exp $ */
+/* $NetBSD: pcictl.c,v 1.18 2011/08/30 20:08:38 joerg Exp $ */
/*
* Copyright 2001 Wasabi Systems, Inc.
@@ -63,21 +63,21 @@ struct command {
int open_flags;
};
-static void usage(void);
+__dead static void usage(void);
-int pcifd;
+static int pcifd;
-struct pciio_businfo pci_businfo;
+static struct pciio_businfo pci_businfo;
-const char *dvname;
-char dvname_store[MAXPATHLEN];
-const char *cmdname;
-int print_numbers = 0;
+static const char *dvname;
+static char dvname_store[MAXPATHLEN];
+static const char *cmdname;
+static int print_numbers = 0;
static void cmd_list(int, char *[]);
static void cmd_dump(int, char *[]);
-const struct command commands[] = {
+static const struct command commands[] = {
{ "list",
"[-n] [-b bus] [-d device] [-f function]",
cmd_list,