Module Name:    src
Committed By:   joerg
Date:           Tue Aug 30 20:08:38 UTC 2011

Modified Files:
        src/usr.sbin/pcictl: pcictl.c

Log Message:
static + __dead


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/usr.sbin/pcictl/pcictl.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.sbin/pcictl/pcictl.c
diff -u src/usr.sbin/pcictl/pcictl.c:1.17 src/usr.sbin/pcictl/pcictl.c:1.18
--- src/usr.sbin/pcictl/pcictl.c:1.17	Fri Feb 25 21:40:48 2011
+++ src/usr.sbin/pcictl/pcictl.c	Tue Aug 30 20:08:38 2011
@@ -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,

Reply via email to