diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2004-04-07 13:11:37 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2004-04-07 13:11:37 +0000 |
commit | d62260efbb210817cdf2745812dff843031c5840 (patch) | |
tree | ebc4ba9c0621c6491f9d8efd979ae4c81228fa93 /usr.bin/make/varname.c | |
parent | b6a90d9cabfe2b5212651fce2cc785fffd80893f (diff) |
ISO function declarations, trim a few comments, rename a few variables to
more explicit/more consistent names.
okay otto@
Diffstat (limited to 'usr.bin/make/varname.c')
-rw-r--r-- | usr.bin/make/varname.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/usr.bin/make/varname.c b/usr.bin/make/varname.c index 51a30aa277e..e2f493496af 100644 --- a/usr.bin/make/varname.c +++ b/usr.bin/make/varname.c @@ -1,5 +1,5 @@ /* $OpenPackages$ */ -/* $OpenBSD: varname.c,v 1.1 2001/05/23 12:34:52 espie Exp $ */ +/* $OpenBSD: varname.c,v 1.2 2004/04/07 13:11:36 espie Exp $ */ /* * Copyright (c) 2001 Marc Espie. * @@ -33,12 +33,7 @@ #include "varname.h" const char * -VarName_Get(start, name, ctxt, err, cont) - const char *start; - struct Name *name; - SymTable *ctxt; - bool err; - const char *(*cont)(const char *); +VarName_Get(const char *start, struct Name *name, SymTable *ctxt, bool err, const char *(*cont)(const char *)) { const char *p; size_t len; @@ -74,8 +69,7 @@ VarName_Get(start, name, ctxt, err, cont) } void -VarName_Free(name) - struct Name *name; +VarName_Free(struct Name *name) { if (name->tofree) free((char *)name->s); |