From ad0312c45756a5ad1ce7ebda2a0b1b17b71353e8 Mon Sep 17 00:00:00 2001 From: dholland Date: Tue, 16 Aug 2011 19:53:03 +0000 Subject: Use __dead instead of __attribute__((__noreturn__)). --- fortune/strfile/strfile.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'fortune') 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); -- cgit v1.2.3-56-ge451