From 1a199b4c2a2233d21f830b2b739f50a829bca883 Mon Sep 17 00:00:00 2001 From: hubertf Date: Wed, 10 Feb 1999 12:38:54 +0000 Subject: Add __attribute__() to a variable. From PR 6557, after discussion with Joseph S. Myers --- adventure/init.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'adventure') 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 */ -- cgit v1.2.3-56-ge451