Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/pvcsif static + __dead



details:   https://anonhg.NetBSD.org/src/rev/b9ea07b6d748
branches:  trunk
changeset: 769073:b9ea07b6d748
user:      joerg <joerg%NetBSD.org@localhost>
date:      Tue Aug 30 21:27:00 2011 +0000

description:
static + __dead

diffstat:

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

diffs (29 lines):

diff -r 1b73b1fc4caf -r b9ea07b6d748 usr.sbin/pvcsif/pvcsif.c
--- a/usr.sbin/pvcsif/pvcsif.c  Tue Aug 30 21:26:11 2011 +0000
+++ b/usr.sbin/pvcsif/pvcsif.c  Tue Aug 30 21:27:00 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pvcsif.c,v 1.4 2007/01/16 17:32:05 hubertf Exp $       */
+/*     $NetBSD: pvcsif.c,v 1.5 2011/08/30 21:27:00 joerg Exp $ */
 
 /*
  * Copyright (C) 1998
@@ -40,8 +40,8 @@
 
 #include <net/if_atm.h>
 
-void usage __P((void));
-void list_all __P((void));
+__dead static void usage(void);
+static void list_all(void);
 
 void usage(void)
 {
@@ -94,7 +94,7 @@
        return (0);
 }
 
-void
+static void
 list_all(void)
 {
        struct if_nameindex *ifn_list, *ifnp;



Home | Main Index | Thread Index | Old Index