summaryrefslogtreecommitdiffstats
path: root/fortune
diff options
context:
space:
mode:
authordogcow <dogcow@NetBSD.org>2007-12-18 08:45:03 +0000
committerdogcow <dogcow@NetBSD.org>2007-12-18 08:45:03 +0000
commit7bdfc68392299315f4249ce06cfac7b13fb0514a (patch)
tree5e9a3edda3110e3dae024a818dd67169d527cc21 /fortune
parent5b76eed8435d83619f278cc1584ca5751e2804f6 (diff)
downloadbsdgames-darwin-7bdfc68392299315f4249ce06cfac7b13fb0514a.tar.gz
bsdgames-darwin-7bdfc68392299315f4249ce06cfac7b13fb0514a.tar.zst
bsdgames-darwin-7bdfc68392299315f4249ce06cfac7b13fb0514a.zip
more __dead fallout: these two files are built for the native host, not
for the target host - and thus do not necessarily have __dead defined in <sys/cdefs.h>.
Diffstat (limited to 'fortune')
-rw-r--r--fortune/strfile/strfile.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/fortune/strfile/strfile.c b/fortune/strfile/strfile.c
index e0dae6de..15509370 100644
--- a/fortune/strfile/strfile.c
+++ b/fortune/strfile/strfile.c
@@ -1,4 +1,4 @@
-/* $NetBSD: strfile.c,v 1.24 2007/12/15 19:44:40 perry Exp $ */
+/* $NetBSD: strfile.c,v 1.25 2007/12/18 08:45:03 dogcow Exp $ */
/*-
* Copyright (c) 1989, 1993
@@ -43,11 +43,13 @@ __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.24 2007/12/15 19:44:40 perry Exp $");
+__RCSID("$NetBSD: strfile.c,v 1.25 2007/12/18 08:45:03 dogcow Exp $");
#endif
#endif /* not lint */
#endif /* __NetBSD__ */
+/* n.b.: this file is used at build-time - i.e. during build.sh. */
+
# include <sys/types.h>
# include <sys/param.h>
# include <ctype.h>
@@ -149,6 +151,10 @@ STR *Firstch; /* first chars of each string */
#define NORETURN
#endif
+#ifndef __dead /* not NetBSD, presumably */
+#define __dead ;
+#endif
+
void add_offset(FILE *, off_t);
int cmp_str(const void *, const void *);
void die(const char *) NORETURN;