Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/netgroup simplify __dead usage



details:   https://anonhg.NetBSD.org/src/rev/2f46b5c67077
branches:  trunk
changeset: 817698:2f46b5c67077
user:      dholland <dholland%NetBSD.org@localhost>
date:      Sat Sep 03 05:58:30 2016 +0000

description:
simplify __dead usage

diffstat:

 usr.bin/netgroup/netgroup.c |  8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diffs (28 lines):

diff -r 360fab1aff3b -r 2f46b5c67077 usr.bin/netgroup/netgroup.c
--- a/usr.bin/netgroup/netgroup.c       Sat Sep 03 05:56:59 2016 +0000
+++ b/usr.bin/netgroup/netgroup.c       Sat Sep 03 05:58:30 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: netgroup.c,v 1.8 2016/09/03 02:24:04 sevan Exp $       */
+/*     $NetBSD: netgroup.c,v 1.9 2016/09/03 05:58:30 dholland Exp $    */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -30,16 +30,14 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: netgroup.c,v 1.8 2016/09/03 02:24:04 sevan Exp $");
+__RCSID("$NetBSD: netgroup.c,v 1.9 2016/09/03 05:58:30 dholland Exp $");
 
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
 #include <netgroup.h>
 
-static void usage(void) __dead;
-
-static void
+static __dead void
 usage(void)
 {
 



Home | Main Index | Thread Index | Old Index