Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/pcictl static + __dead
details: https://anonhg.NetBSD.org/src/rev/85b8a8db2a45
branches: trunk
changeset: 769055:85b8a8db2a45
user: joerg <joerg%NetBSD.org@localhost>
date: Tue Aug 30 20:08:38 2011 +0000
description:
static + __dead
diffstat:
usr.sbin/pcictl/pcictl.c | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
diffs (39 lines):
diff -r 82dade2ad75d -r 85b8a8db2a45 usr.sbin/pcictl/pcictl.c
--- a/usr.sbin/pcictl/pcictl.c Tue Aug 30 20:07:31 2011 +0000
+++ b/usr.sbin/pcictl/pcictl.c Tue Aug 30 20:08:38 2011 +0000
@@ -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 @@
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,
Home |
Main Index |
Thread Index |
Old Index