Add __attribute__() to a variable. From PR 6557, after discussion with

Joseph S. Myers <jsm28@cam.ac.uk>
This commit is contained in:
hubertf 1999-02-10 12:38:54 +00:00
parent 6dd47fe65f
commit 752e969da2

View File

@ -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 * Copyright (c) 1993
@ -43,7 +43,7 @@
#if 0 #if 0
static char sccsid[] = "@(#)init.c 8.1 (Berkeley) 6/2/93"; static char sccsid[] = "@(#)init.c 8.1 (Berkeley) 6/2/93";
#else #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
#endif /* not lint */ #endif /* not lint */
@ -217,7 +217,7 @@ linkdata()
void void
trapdel(n) /* come here if he hits a del */ trapdel(n) /* come here if he hits a del */
int n; int n __attribute__((__unused__));
{ {
delhit = 1; /* main checks, treats as QUIT */ delhit = 1; /* main checks, treats as QUIT */
signal(SIGINT, trapdel);/* catch subsequent DELs */ signal(SIGINT, trapdel);/* catch subsequent DELs */