summaryrefslogtreecommitdiffstats
path: root/primes
diff options
context:
space:
mode:
authorhubertf <hubertf@NetBSD.org>1998-09-13 15:27:25 +0000
committerhubertf <hubertf@NetBSD.org>1998-09-13 15:27:25 +0000
commita2515e35506e73e8f6422799dea7f4834cd0f558 (patch)
tree04fd3cbcf147e619b8b2e6291fffb4c4a5b8a591 /primes
parent6d7ed08d8c880aa89994f5978dff0cef8d6aaeb3 (diff)
downloadbsdgames-darwin-a2515e35506e73e8f6422799dea7f4834cd0f558.tar.gz
bsdgames-darwin-a2515e35506e73e8f6422799dea7f4834cd0f558.tar.zst
bsdgames-darwin-a2515e35506e73e8f6422799dea7f4834cd0f558.zip
mark non-returning functions (PR#6144 by Joseph Myers <jsm28@cam.ac.uk>)
Diffstat (limited to 'primes')
-rw-r--r--primes/primes.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/primes/primes.c b/primes/primes.c
index 3c1a18ca..ea6f0117 100644
--- a/primes/primes.c
+++ b/primes/primes.c
@@ -1,4 +1,4 @@
-/* $NetBSD: primes.c,v 1.7 1997/10/12 01:04:55 lukem Exp $ */
+/* $NetBSD: primes.c,v 1.8 1998/09/13 15:27:29 hubertf Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -46,7 +46,7 @@ __COPYRIGHT("@(#) Copyright (c) 1989, 1993\n\
#if 0
static char sccsid[] = "@(#)primes.c 8.5 (Berkeley) 5/10/95";
#else
-__RCSID("$NetBSD: primes.c,v 1.7 1997/10/12 01:04:55 lukem Exp $");
+__RCSID("$NetBSD: primes.c,v 1.8 1998/09/13 15:27:29 hubertf Exp $");
#endif
#endif /* not lint */
@@ -110,7 +110,7 @@ extern int pattern_size; /* length of pattern array */
int main __P((int, char *[]));
void primes __P((ubig, ubig));
ubig read_num_buf __P((void));
-void usage __P((void));
+void usage __P((void)) __attribute__((__noreturn__));
int
main(argc, argv)