Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/games/fortune/strfile Use __dead instead of __attribute__((_...
details: https://anonhg.NetBSD.org/src/rev/938a61dc8883
branches: trunk
changeset: 768437:938a61dc8883
user: dholland <dholland%NetBSD.org@localhost>
date: Tue Aug 16 19:53:03 2011 +0000
description:
Use __dead instead of __attribute__((__noreturn__)).
diffstat:
games/fortune/strfile/strfile.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 1e0b43f561a3 -r 938a61dc8883 games/fortune/strfile/strfile.c
--- a/games/fortune/strfile/strfile.c Tue Aug 16 18:28:41 2011 +0000
+++ b/games/fortune/strfile/strfile.c Tue Aug 16 19:53:03 2011 +0000
@@ -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);
Home |
Main Index |
Thread Index |
Old Index