Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/rtadvd Use __dead. No prototype for main.



details:   https://anonhg.NetBSD.org/src/rev/e5fbb1b3f132
branches:  trunk
changeset: 771957:e5fbb1b3f132
user:      joerg <joerg%NetBSD.org@localhost>
date:      Sun Dec 11 15:25:52 2011 +0000

description:
Use __dead. No prototype for main.

diffstat:

 usr.sbin/rtadvd/rtadvd.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 6366ce6dc47e -r e5fbb1b3f132 usr.sbin/rtadvd/rtadvd.c
--- a/usr.sbin/rtadvd/rtadvd.c  Sun Dec 11 15:15:25 2011 +0000
+++ b/usr.sbin/rtadvd/rtadvd.c  Sun Dec 11 15:25:52 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rtadvd.c,v 1.36 2011/12/10 19:14:29 roy Exp $  */
+/*     $NetBSD: rtadvd.c,v 1.37 2011/12/11 15:25:52 joerg Exp $        */
 /*     $KAME: rtadvd.c,v 1.92 2005/10/17 14:40:02 suz Exp $    */
 
 /*
@@ -144,9 +144,8 @@
        .sin6_addr =    IN6ADDR_SITELOCAL_ALLROUTERS_INIT,
 };
 
-int main(int, char *[]);
 static void set_die(int);
-static void die(void);
+static void die(void) __dead;
 static void sock_open(void);
 static void rtsock_open(void);
 static void rtadvd_input(void);



Home | Main Index | Thread Index | Old Index