Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sbin/ccdconfig static. __dead.



details:   https://anonhg.NetBSD.org/src/rev/4a7b7f5c2bd5
branches:  trunk
changeset: 768790:4a7b7f5c2bd5
user:      joerg <joerg%NetBSD.org@localhost>
date:      Sat Aug 27 16:29:51 2011 +0000

description:
static. __dead.

diffstat:

 sbin/ccdconfig/ccdconfig.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 008a4d8b90f1 -r 4a7b7f5c2bd5 sbin/ccdconfig/ccdconfig.c
--- a/sbin/ccdconfig/ccdconfig.c        Sat Aug 27 16:23:44 2011 +0000
+++ b/sbin/ccdconfig/ccdconfig.c        Sat Aug 27 16:29:51 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ccdconfig.c,v 1.50 2011/01/04 23:31:29 wiz Exp $       */
+/*     $NetBSD: ccdconfig.c,v 1.51 2011/08/27 16:29:51 joerg Exp $     */
 
 /*-
  * Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
@@ -33,7 +33,7 @@
 #ifndef lint
 __COPYRIGHT("@(#) Copyright (c) 1996, 1997\
  The NetBSD Foundation, Inc.  All rights reserved.");
-__RCSID("$NetBSD: ccdconfig.c,v 1.50 2011/01/04 23:31:29 wiz Exp $");
+__RCSID("$NetBSD: ccdconfig.c,v 1.51 2011/08/27 16:29:51 joerg Exp $");
 #endif
 
 #include <sys/param.h>
@@ -68,7 +68,7 @@
 static char *core;
 static char *kernel;
 
-struct flagval {
+static struct  flagval {
        const char *fv_flag;
        int     fv_val;
 } flagvaltab[] = {
@@ -102,7 +102,7 @@
 static int pathtounit(char *, int *);
 static void print_ccd_info(struct ccd_softc *, kvm_t *);
 static char *resolve_ccdname(char *);
-static void usage(void);
+__dead static  void usage(void);
 
 int
 main(int argc, char *argv[])



Home | Main Index | Thread Index | Old Index