diff options
author | hubertf <hubertf@NetBSD.org> | 1998-09-13 15:27:25 +0000 |
---|---|---|
committer | hubertf <hubertf@NetBSD.org> | 1998-09-13 15:27:25 +0000 |
commit | a2515e35506e73e8f6422799dea7f4834cd0f558 (patch) | |
tree | 04fd3cbcf147e619b8b2e6291fffb4c4a5b8a591 /worms | |
parent | 6d7ed08d8c880aa89994f5978dff0cef8d6aaeb3 (diff) | |
download | bsdgames-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 'worms')
-rw-r--r-- | worms/worms.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/worms/worms.c b/worms/worms.c index b0731afd..9452986f 100644 --- a/worms/worms.c +++ b/worms/worms.c @@ -1,4 +1,4 @@ -/* $NetBSD: worms.c,v 1.9 1997/10/12 02:18:25 lukem Exp $ */ +/* $NetBSD: worms.c,v 1.10 1998/09/13 15:27:31 hubertf Exp $ */ /* * Copyright (c) 1980, 1993 @@ -43,7 +43,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1993\n\ #if 0 static char sccsid[] = "@(#)worms.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: worms.c,v 1.9 1997/10/12 02:18:25 lukem Exp $"); +__RCSID("$NetBSD: worms.c,v 1.10 1998/09/13 15:27:31 hubertf Exp $"); #endif #endif /* not lint */ @@ -185,8 +185,8 @@ static struct worm { void fputchar __P((int)); int main __P((int, char **)); -void nomem __P((void)); -void onsig __P((int)); +void nomem __P((void)) __attribute__((__noreturn__)); +void onsig __P((int)) __attribute__((__noreturn__)); int tgetent __P((char *, char *)); int tgetflag __P((char *)); int tgetnum __P((char *)); |