diff options
author | Marc Espie <espie@cvs.openbsd.org> | 1999-12-19 00:04:27 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 1999-12-19 00:04:27 +0000 |
commit | d0130d96c585fdb50dc22f4eb3e62eeaf925c54e (patch) | |
tree | 1473dd29f02676192ef554ecc68d312e01370f9d /usr.bin/make/cond.c | |
parent | afc4108f5f7812de12c1db4f1db50663cd70f797 (diff) |
Rearrange Lst_Find interface to conform better with other functions.
Diffstat (limited to 'usr.bin/make/cond.c')
-rw-r--r-- | usr.bin/make/cond.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/make/cond.c b/usr.bin/make/cond.c index c05957a4260..0358a08983b 100644 --- a/usr.bin/make/cond.c +++ b/usr.bin/make/cond.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cond.c,v 1.12 1999/12/18 21:53:32 espie Exp $ */ +/* $OpenBSD: cond.c,v 1.13 1999/12/19 00:04:25 espie Exp $ */ /* $NetBSD: cond.c,v 1.7 1996/11/06 17:59:02 christos Exp $ */ /* @@ -43,7 +43,7 @@ #if 0 static char sccsid[] = "@(#)cond.c 8.2 (Berkeley) 1/2/94"; #else -static char rcsid[] = "$OpenBSD: cond.c,v 1.12 1999/12/18 21:53:32 espie Exp $"; +static char rcsid[] = "$OpenBSD: cond.c,v 1.13 1999/12/19 00:04:25 espie Exp $"; #endif #endif /* not lint */ @@ -339,7 +339,7 @@ CondDoMake (argLen, arg) Boolean result; arg[argLen] = '\0'; - if (Lst_Find (create, (ClientData)arg, CondStrMatch) == NULL) { + if (Lst_Find(create, CondStrMatch, (ClientData)arg) == NULL) { result = FALSE; } else { result = TRUE; |