Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/microcode/cyclades-z usage() can be "__dead static".



details:   https://anonhg.NetBSD.org/src/rev/46b109d546d6
branches:  trunk
changeset: 777874:46b109d546d6
user:      jakllsch <jakllsch%NetBSD.org@localhost>
date:      Thu Mar 08 16:45:10 2012 +0000

description:
usage() can be "__dead static".

diffstat:

 sys/dev/microcode/cyclades-z/cyzfirm2h.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r a63af284bea9 -r 46b109d546d6 sys/dev/microcode/cyclades-z/cyzfirm2h.c
--- a/sys/dev/microcode/cyclades-z/cyzfirm2h.c  Thu Mar 08 16:43:04 2012 +0000
+++ b/sys/dev/microcode/cyclades-z/cyzfirm2h.c  Thu Mar 08 16:45:10 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cyzfirm2h.c,v 1.10 2012/03/08 16:43:04 jakllsch Exp $  */
+/*     $NetBSD: cyzfirm2h.c,v 1.11 2012/03/08 16:45:10 jakllsch Exp $  */
 
 /*-
  * Copyright (c) 2000 Zembu Labs, Inc.
@@ -39,7 +39,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: cyzfirm2h.c,v 1.10 2012/03/08 16:43:04 jakllsch Exp $");
+__RCSID("$NetBSD: cyzfirm2h.c,v 1.11 2012/03/08 16:45:10 jakllsch Exp $");
 
 #include <sys/types.h>
 #include <sys/mman.h>
@@ -52,7 +52,7 @@
 #include <unistd.h>
 
 int    main(int argc, char *argv[]);
-void   usage(void);
+static void    usage(void) __dead;
 
 int
 main(int argc, char *argv[])
@@ -132,7 +132,7 @@
        fprintf(out_file, "#endif /* _%s_ */\n", include_name);
 }
 
-void
+__dead static void
 usage(void)
 {
 



Home | Main Index | Thread Index | Old Index