Source-Changes-HG archive

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

[src/trunk]: src/share/misc make usage dead.



details:   https://anonhg.NetBSD.org/src/rev/3f4e42db9406
branches:  trunk
changeset: 758278:3f4e42db9406
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Oct 30 20:12:32 2010 +0000

description:
make usage dead.

diffstat:

 share/misc/style |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 44ed5669389e -r 3f4e42db9406 share/misc/style
--- a/share/misc/style  Sat Oct 30 18:30:55 2010 +0000
+++ b/share/misc/style  Sat Oct 30 20:12:32 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: style,v 1.46 2010/04/24 00:54:07 christos Exp $ */
+/* $NetBSD: style,v 1.47 2010/10/30 20:12:32 christos Exp $ */
 
 /*
  * The revision control tag appears first, with a blank line after it.
@@ -30,7 +30,7 @@
 #include <sys/cdefs.h>
 __COPYRIGHT("@(#) Copyright (c) 2008\
  The NetBSD Foundation, inc. All rights reserved.");
-__RCSID("$NetBSD: style,v 1.46 2010/04/24 00:54:07 christos Exp $");
+__RCSID("$NetBSD: style,v 1.47 2010/10/30 20:12:32 christos Exp $");
 
 /*
  * VERY important single-line comments look like this.
@@ -121,7 +121,7 @@
 static char *function(int, int, float, int);
 static int dirinfo(const char *, struct stat *, struct dirent *,
                   struct statfs *, int *, char **[]);
-static void usage(void);
+static void usage(void) __dead;        /* declare functions that don't return dead */
 int main(int, char *[]);
 
 /*



Home | Main Index | Thread Index | Old Index