diff options
| author | jmc <jmc@NetBSD.org> | 2004-07-01 20:38:09 +0000 |
|---|---|---|
| committer | jmc <jmc@NetBSD.org> | 2004-07-01 20:38:09 +0000 |
| commit | a2bacbeec545baada232bd8c281d936807ec78a3 (patch) | |
| tree | 64dc5e821610ac0ae49cd4758d305e13d5615c76 /usr.bin/make/make.c | |
| parent | 07be12b5059ef698cf514ea8c30427c4c111dbcb (diff) | |
Change to use __unused instead and provide a compat definition in make.h if
not already defined from cdefs.h
Diffstat (limited to 'usr.bin/make/make.c')
| -rw-r--r-- | usr.bin/make/make.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/usr.bin/make/make.c b/usr.bin/make/make.c index 804f1e65723..5d07cff76b1 100644 --- a/usr.bin/make/make.c +++ b/usr.bin/make/make.c @@ -1,4 +1,4 @@ -/* $NetBSD: make.c,v 1.54 2004/07/01 04:39:31 jmc Exp $ */ +/* $NetBSD: make.c,v 1.55 2004/07/01 20:38:09 jmc Exp $ */ /* * Copyright (c) 1988, 1989, 1990, 1993 @@ -69,14 +69,14 @@ */ #ifndef MAKE_NATIVE -static char rcsid[] = "$NetBSD: make.c,v 1.54 2004/07/01 04:39:31 jmc Exp $"; +static char rcsid[] = "$NetBSD: make.c,v 1.55 2004/07/01 20:38:09 jmc Exp $"; #else #include <sys/cdefs.h> #ifndef lint #if 0 static char sccsid[] = "@(#)make.c 8.1 (Berkeley) 6/6/93"; #else -__RCSID("$NetBSD: make.c,v 1.54 2004/07/01 04:39:31 jmc Exp $"); +__RCSID("$NetBSD: make.c,v 1.55 2004/07/01 20:38:09 jmc Exp $"); #endif #endif /* not lint */ #endif @@ -795,11 +795,7 @@ Make_Update(GNode *cgn) *----------------------------------------------------------------------- */ static int -#if __GNUC__ -MakeUnmark(ClientData cgnp, ClientData pgnp __attribute__((unused))) -#else -MakeUnmark(ClientData cgnp, ClientData pgnp) -#endif +MakeUnmark(ClientData cgnp, ClientData pgnp __unused) { GNode *cgn = (GNode *) cgnp; |
