summaryrefslogtreecommitdiffstats
path: root/fortune/strfile/strfile.c
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2011-08-16 19:53:03 +0000
committerdholland <dholland@NetBSD.org>2011-08-16 19:53:03 +0000
commitad0312c45756a5ad1ce7ebda2a0b1b17b71353e8 (patch)
tree42630ed19c262ff32db101d4dee9c90e24dd16fe /fortune/strfile/strfile.c
parentbc790c913d59113dc4eb79a9b68224c2ec5f8de5 (diff)
downloadbsdgames-darwin-ad0312c45756a5ad1ce7ebda2a0b1b17b71353e8.tar.gz
bsdgames-darwin-ad0312c45756a5ad1ce7ebda2a0b1b17b71353e8.tar.zst
bsdgames-darwin-ad0312c45756a5ad1ce7ebda2a0b1b17b71353e8.zip
Use __dead instead of __attribute__((__noreturn__)).
Diffstat (limited to 'fortune/strfile/strfile.c')
-rw-r--r--fortune/strfile/strfile.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fortune/strfile/strfile.c b/fortune/strfile/strfile.c
index 51d5215d..a857b4f9 100644
--- a/fortune/strfile/strfile.c
+++ b/fortune/strfile/strfile.c
@@ -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 @@ __COPYRIGHT("@(#) Copyright (c) 1989, 1993\
#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 @@ __RCSID("$NetBSD: strfile.c,v 1.30 2011/08/16 11:06:34 christos Exp $");
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);