summaryrefslogtreecommitdiffstats
path: root/fortune/fortune/fortune.c
diff options
context:
space:
mode:
authorperry <perry@NetBSD.org>2007-12-15 19:44:37 +0000
committerperry <perry@NetBSD.org>2007-12-15 19:44:37 +0000
commit5b76eed8435d83619f278cc1584ca5751e2804f6 (patch)
tree95b484c27260594d4e5c7b00cdcfd394d46911b1 /fortune/fortune/fortune.c
parent1241b50c5ecd257030f9ddd40c9009a0a4c55ee8 (diff)
downloadbsdgames-darwin-5b76eed8435d83619f278cc1584ca5751e2804f6.tar.gz
bsdgames-darwin-5b76eed8435d83619f278cc1584ca5751e2804f6.tar.zst
bsdgames-darwin-5b76eed8435d83619f278cc1584ca5751e2804f6.zip
convert __attribute__s to applicable cdefs.h macros
Diffstat (limited to 'fortune/fortune/fortune.c')
-rw-r--r--fortune/fortune/fortune.c8
1 files changed, 4 insertions, 4 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;