Source-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/src/rev/d82acb5bc50d
branches:  trunk
changeset: 347554:d82acb5bc50d
user:      dholland <dholland%NetBSD.org@localhost>
date:      Sat Sep 03 05:50:06 2016 +0000

description:
simplify __dead usage

diffstat:

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

diffs (28 lines):

diff -r 8098b9e666cb -r d82acb5bc50d usr.bin/innetgr/innetgr.c
--- a/usr.bin/innetgr/innetgr.c Sat Sep 03 02:24:04 2016 +0000
+++ b/usr.bin/innetgr/innetgr.c Sat Sep 03 05:50:06 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: innetgr.c,v 1.9 2016/09/03 02:24:04 sevan Exp $        */
+/*     $NetBSD: innetgr.c,v 1.10 2016/09/03 05:50:06 dholland Exp $    */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -30,16 +30,14 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: innetgr.c,v 1.9 2016/09/03 02:24:04 sevan Exp $");
+__RCSID("$NetBSD: innetgr.c,v 1.10 2016/09/03 05:50:06 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