diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2000-01-08 09:45:17 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2000-01-08 09:45:17 +0000 |
commit | 7b0fbdd8e4c67198ea238f24ac1fefbf2aedd7c0 (patch) | |
tree | d0a44116cf447691e8570ee5be330f9bcf49af03 /usr.bin/make/var.c | |
parent | 7614484a5cf7c4307d8e79cf1f23b48e21491749 (diff) |
Finish changing all Var_Parse arguments to size_t. Thanks to millert@
for reminding me.
Diffstat (limited to 'usr.bin/make/var.c')
-rw-r--r-- | usr.bin/make/var.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/make/var.c b/usr.bin/make/var.c index 7a6e58ff974..e64c04934bd 100644 --- a/usr.bin/make/var.c +++ b/usr.bin/make/var.c @@ -1,4 +1,4 @@ -/* $OpenBSD: var.c,v 1.28 1999/12/19 00:04:25 espie Exp $ */ +/* $OpenBSD: var.c,v 1.29 2000/01/08 09:45:16 espie Exp $ */ /* $NetBSD: var.c,v 1.18 1997/03/18 19:24:46 christos Exp $ */ /* @@ -70,7 +70,7 @@ #if 0 static char sccsid[] = "@(#)var.c 8.3 (Berkeley) 3/19/94"; #else -static char rcsid[] = "$OpenBSD: var.c,v 1.28 1999/12/19 00:04:25 espie Exp $"; +static char rcsid[] = "$OpenBSD: var.c,v 1.29 2000/01/08 09:45:16 espie Exp $"; #endif #endif /* not lint */ @@ -1314,7 +1314,7 @@ VarGetPattern(ctxt, err, tstr, delim, flags, length, pattern) { char *cp; BUFFER buf; - int junk; + size_t junk; Buf_Init(&buf, 0); if (length == NULL) @@ -1347,7 +1347,7 @@ VarGetPattern(ctxt, err, tstr, delim, flags, length, pattern) } else { char *cp2; - int len; + size_t len; Boolean freeIt; /* @@ -1436,7 +1436,7 @@ Var_Parse (str, ctxt, err, lengthPtr, freePtr) char *str; /* The string to parse */ GNode *ctxt; /* The context for the variable */ Boolean err; /* TRUE if undefined variables are an error */ - int *lengthPtr; /* OUT: The length of the specification */ + size_t *lengthPtr; /* OUT: The length of the specification */ Boolean *freePtr; /* OUT: TRUE if caller should free result */ { register char *tstr; /* Pointer into str */ |