summaryrefslogtreecommitdiffstats
path: root/usr.bin/make/cond.c
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2000-12-02 20:24:42 +0000
committerwill <will@FreeBSD.org>2000-12-02 20:24:42 +0000
commit65a98afaedffb34df44fe7938b9f87f8dbce1cd6 (patch)
tree9dcfaa566f6b1b0fd7a3947c238332a19dd073c2 /usr.bin/make/cond.c
parent33a20c676da04b4c787eef9bd8f8ef901c319fee (diff)
downloadFreeBSD-src-65a98afaedffb34df44fe7938b9f87f8dbce1cd6.zip
FreeBSD-src-65a98afaedffb34df44fe7938b9f87f8dbce1cd6.tar.gz
There's also no point in #typedef'ing void/char pointers. Accordingly,
rip out ClientData/Address pointers and use standard types. Obtained from: OpenBSD
Diffstat (limited to 'usr.bin/make/cond.c')
-rw-r--r--usr.bin/make/cond.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/make/cond.c b/usr.bin/make/cond.c
index 065226e..8e94700 100644
--- a/usr.bin/make/cond.c
+++ b/usr.bin/make/cond.c
@@ -100,7 +100,7 @@ typedef enum {
static void CondPushBack __P((Token));
static int CondGetArg __P((char **, char **, char *, Boolean));
static Boolean CondDoDefined __P((int, char *));
-static int CondStrMatch __P((ClientData, ClientData));
+static int CondStrMatch __P((void *, void *));
static Boolean CondDoMake __P((int, char *));
static Boolean CondDoExists __P((int, char *));
static Boolean CondDoTarget __P((int, char *));
@@ -312,8 +312,8 @@ CondDoDefined (argLen, arg)
*/
static int
CondStrMatch(string, pattern)
- ClientData string;
- ClientData pattern;
+ void * string;
+ void * pattern;
{
return(!Str_Match((char *) string,(char *) pattern));
}
@@ -340,7 +340,7 @@ CondDoMake (argLen, arg)
Boolean result;
arg[argLen] = '\0';
- if (Lst_Find (create, (ClientData)arg, CondStrMatch) == NULL) {
+ if (Lst_Find (create, (void *)arg, CondStrMatch) == NULL) {
result = FALSE;
} else {
result = TRUE;
OpenPOWER on IntegriCloud