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 /worm | |
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 'worm')
-rw-r--r-- | worm/worm.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/worm/worm.c b/worm/worm.c index 0a7b96ef..57e0f2dc 100644 --- a/worm/worm.c +++ b/worm/worm.c @@ -1,4 +1,4 @@ -/* $NetBSD: worm.c,v 1.8 1997/10/12 02:12:48 lukem Exp $ */ +/* $NetBSD: worm.c,v 1.9 1998/09/13 15:27:30 hubertf Exp $ */ /* * Copyright (c) 1980, 1993 @@ -43,7 +43,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1993\n\ #if 0 static char sccsid[] = "@(#)worm.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: worm.c,v 1.8 1997/10/12 02:12:48 lukem Exp $"); +__RCSID("$NetBSD: worm.c,v 1.9 1998/09/13 15:27:30 hubertf Exp $"); #endif #endif /* not lint */ @@ -82,10 +82,10 @@ int start_len = LENGTH; char lastch; char outbuf[BUFSIZ]; -void crash __P((void)); +void crash __P((void)) __attribute__((__noreturn__)); void display __P((struct body *, char)); int main __P((int, char **)); -void leave __P((int)); +void leave __P((int)) __attribute__((__noreturn__)); void life __P((void)); void newpos __P((struct body *)); void process __P((char)); |