diff options
author | hubertf <hubertf@NetBSD.org> | 1999-02-10 12:38:54 +0000 |
---|---|---|
committer | hubertf <hubertf@NetBSD.org> | 1999-02-10 12:38:54 +0000 |
commit | 1a199b4c2a2233d21f830b2b739f50a829bca883 (patch) | |
tree | e839146836b6e4dd8dbb374972f2258c941d4f51 /adventure | |
parent | f2e552ba9ea473d3399e7b124077a7e4a856138b (diff) | |
download | bsdgames-darwin-1a199b4c2a2233d21f830b2b739f50a829bca883.tar.gz bsdgames-darwin-1a199b4c2a2233d21f830b2b739f50a829bca883.tar.zst bsdgames-darwin-1a199b4c2a2233d21f830b2b739f50a829bca883.zip |
Add __attribute__() to a variable. From PR 6557, after discussion with
Joseph S. Myers <jsm28@cam.ac.uk>
Diffstat (limited to 'adventure')
-rw-r--r-- | adventure/init.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/adventure/init.c b/adventure/init.c index 14de1205..b518f2e9 100644 --- a/adventure/init.c +++ b/adventure/init.c @@ -1,4 +1,4 @@ -/* $NetBSD: init.c,v 1.10 1998/08/29 20:19:56 hubertf Exp $ */ +/* $NetBSD: init.c,v 1.11 1999/02/10 12:38:54 hubertf Exp $ */ /*- * Copyright (c) 1993 @@ -43,7 +43,7 @@ #if 0 static char sccsid[] = "@(#)init.c 8.1 (Berkeley) 6/2/93"; #else -__RCSID("$NetBSD: init.c,v 1.10 1998/08/29 20:19:56 hubertf Exp $"); +__RCSID("$NetBSD: init.c,v 1.11 1999/02/10 12:38:54 hubertf Exp $"); #endif #endif /* not lint */ @@ -217,7 +217,7 @@ linkdata() void trapdel(n) /* come here if he hits a del */ - int n; + int n __attribute__((__unused__)); { delhit = 1; /* main checks, treats as QUIT */ signal(SIGINT, trapdel);/* catch subsequent DELs */ |