summaryrefslogtreecommitdiff
path: root/usr.bin/make/varname.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/make/varname.c')
-rw-r--r--usr.bin/make/varname.c12
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);