Module Name: src
Committed By: dholland
Date: Tue Aug 16 19:53:04 UTC 2011
Modified Files:
src/games/fortune/strfile: strfile.c
Log Message:
Use __dead instead of __attribute__((__noreturn__)).
To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/games/fortune/strfile/strfile.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/games/fortune/strfile/strfile.c
diff -u src/games/fortune/strfile/strfile.c:1.30 src/games/fortune/strfile/strfile.c:1.31
--- src/games/fortune/strfile/strfile.c:1.30 Tue Aug 16 11:06:34 2011
+++ src/games/fortune/strfile/strfile.c Tue Aug 16 19:53:03 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: strfile.c,v 1.30 2011/08/16 11:06:34 christos Exp $ */
+/* $NetBSD: strfile.c,v 1.31 2011/08/16 19:53:03 dholland Exp $ */
/*-
* Copyright (c) 1989, 1993
@@ -43,7 +43,7 @@
#if 0
static char sccsid[] = "@(#)strfile.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: strfile.c,v 1.30 2011/08/16 11:06:34 christos Exp $");
+__RCSID("$NetBSD: strfile.c,v 1.31 2011/08/16 19:53:03 dholland Exp $");
#endif
#endif /* not lint */
#endif /* __NetBSD__ */
@@ -69,7 +69,7 @@
static uint32_t h2nl(uint32_t h);
static void getargs(int argc, char **argv);
-static void usage(void) __attribute__((__noreturn__));
+static void usage(void) __dead;
static void add_offset(FILE *fp, off_t off);
static void do_order(void);
static int cmp_str(const void *vp1, const void *vp2);