diff options
Diffstat (limited to 'fortune')
-rw-r--r-- | fortune/fortune/fortune.c | 8 | ||||
-rw-r--r-- | fortune/strfile/strfile.c | 6 | ||||
-rw-r--r-- | fortune/unstr/unstr.c | 6 |
3 files changed, 10 insertions, 10 deletions
diff --git a/fortune/fortune/fortune.c b/fortune/fortune/fortune.c index 3a56e9ad..e7bb04c5 100644 --- a/fortune/fortune/fortune.c +++ b/fortune/fortune/fortune.c @@ -1,4 +1,4 @@ -/* $NetBSD: fortune.c,v 1.49 2006/05/13 22:28:04 christos Exp $ */ +/* $NetBSD: fortune.c,v 1.50 2007/12/15 19:44:40 perry Exp $ */ /*- * Copyright (c) 1986, 1993 @@ -42,7 +42,7 @@ __COPYRIGHT("@(#) Copyright (c) 1986, 1993\n\ #if 0 static char sccsid[] = "@(#)fortune.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: fortune.c,v 1.49 2006/05/13 22:28:04 christos Exp $"); +__RCSID("$NetBSD: fortune.c,v 1.50 2007/12/15 19:44:40 perry Exp $"); #endif #endif /* not lint */ @@ -158,7 +158,7 @@ void print_file_list(void); void print_list(FILEDESC *, int); void sum_noprobs(FILEDESC *); void sum_tbl(STRFILE *, STRFILE *); -void usage(void) __attribute__((__noreturn__)); +void usage(void) __dead; void zero_tbl(STRFILE *); #ifndef NO_REGEX @@ -808,7 +808,7 @@ is_fortfile(file, datp, posp, check_for_offend) const char *file; char **datp, **posp # ifndef OK_TO_WRITE_DISK - __attribute__((__unused__)) + __unused # endif ; int check_for_offend; diff --git a/fortune/strfile/strfile.c b/fortune/strfile/strfile.c index a8bdedcd..e0dae6de 100644 --- a/fortune/strfile/strfile.c +++ b/fortune/strfile/strfile.c @@ -1,4 +1,4 @@ -/* $NetBSD: strfile.c,v 1.23 2005/04/19 20:16:19 rillig Exp $ */ +/* $NetBSD: strfile.c,v 1.24 2007/12/15 19:44:40 perry Exp $ */ /*- * Copyright (c) 1989, 1993 @@ -43,7 +43,7 @@ __COPYRIGHT("@(#) Copyright (c) 1989, 1993\n\ #if 0 static char sccsid[] = "@(#)strfile.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: strfile.c,v 1.23 2005/04/19 20:16:19 rillig Exp $"); +__RCSID("$NetBSD: strfile.c,v 1.24 2007/12/15 19:44:40 perry Exp $"); #endif #endif /* not lint */ #endif /* __NetBSD__ */ @@ -144,7 +144,7 @@ STRFILE Tbl; /* statistics table */ STR *Firstch; /* first chars of each string */ #ifdef __GNUC__ -#define NORETURN __attribute__((__noreturn__)) +#define NORETURN __dead #else #define NORETURN #endif diff --git a/fortune/unstr/unstr.c b/fortune/unstr/unstr.c index d5a4a0fe..8d87d9f8 100644 --- a/fortune/unstr/unstr.c +++ b/fortune/unstr/unstr.c @@ -1,4 +1,4 @@ -/* $NetBSD: unstr.c,v 1.11 2004/02/08 22:23:50 jsm Exp $ */ +/* $NetBSD: unstr.c,v 1.12 2007/12/15 19:44:40 perry Exp $ */ /*- * Copyright (c) 1991, 1993 @@ -42,7 +42,7 @@ __COPYRIGHT("@(#) Copyright (c) 1991, 1993\n\ #if 0 static char sccsid[] = "@(#)unstr.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: unstr.c,v 1.11 2004/02/08 22:23:50 jsm Exp $"); +__RCSID("$NetBSD: unstr.c,v 1.12 2007/12/15 19:44:40 perry Exp $"); #endif #endif /* not lint */ @@ -86,7 +86,7 @@ void order_unstr(STRFILE *); /* ARGSUSED */ int main(ac, av) - int ac __attribute__((__unused__)); + int ac __unused; char **av; { static STRFILE tbl; /* description table */ |