X-Git-Url: https://git.cameronkatri.com/bsdgames-darwin.git/blobdiff_plain/4a7bdd8b14df7be87f238b6d36a0f67946b0fca7..fae54db4d115cb57da03e0b7f5b4fa2abde95da2:/fortune/strfile/strfile.c diff --git a/fortune/strfile/strfile.c b/fortune/strfile/strfile.c index a8bdedcd..15509370 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.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.23 2005/04/19 20:16:19 rillig 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 # include # include @@ -144,11 +146,15 @@ STRFILE Tbl; /* statistics table */ STR *Firstch; /* first chars of each string */ #ifdef __GNUC__ -#define NORETURN __attribute__((__noreturn__)) +#define NORETURN __dead #else #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;