summaryrefslogtreecommitdiff
path: root/usr.bin/make/varmodifiers.h
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2001-05-03 13:41:28 +0000
committerMarc Espie <espie@cvs.openbsd.org>2001-05-03 13:41:28 +0000
commit32d5cfe8f4f4bd9647d36fc0f609479f02311103 (patch)
tree06bd5d3e7a2a46bf77a1da707955bfdc16acf068 /usr.bin/make/varmodifiers.h
parenta50fea6f0032902e640160d4c42a8c9ce003fc2d (diff)
Synch with my current work.
Numerous changes: - generate can build several tables - style cleanup - statistics code - use variable names throughout (struct Name) - recursive variables everywhere - faster parser (pass buffer along instead of allocating multiple copies) - correct parser. Handles comments everywhere, and ; correctly - more string intervals - simplified dir.c, less recursion. - extended for loops - sinclude() - finished removing extra junk from Lst_* - handles ${@D} and friends in a simpler way - cleaned up and modular VarModifiers handling. - recognizes some gnu Makefile usages and errors out about them. Additionally, some extra functionality is defined by FEATURES. The set of functionalities is currently hardcoded to OpenBSD defaults, but this may include support for some NetBSD extensions, like ODE modifiers. Backed by miod@ and millert@, who finally got sick of my endless patches...
Diffstat (limited to 'usr.bin/make/varmodifiers.h')
-rw-r--r--usr.bin/make/varmodifiers.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/usr.bin/make/varmodifiers.h b/usr.bin/make/varmodifiers.h
index 3b34269707a..227459ca6e8 100644
--- a/usr.bin/make/varmodifiers.h
+++ b/usr.bin/make/varmodifiers.h
@@ -1,4 +1,5 @@
-/* $OpenBSD: varmodifiers.h,v 1.1 2000/07/17 23:09:06 espie Exp $ */
+/* $OpenPackages$ */
+/* $OpenBSD: varmodifiers.h,v 1.2 2001/05/03 13:41:15 espie Exp $ */
/*
* Copyright (c) 1999 Marc Espie.
@@ -28,8 +29,9 @@
*/
#ifndef VARMODIFIERS_H
#define VARMODIFIERS_H
-extern char *VarModifiers_Apply __P((char *, SymTable *, Boolean,
- Boolean *, char *, char, size_t *));
-extern char *Var_GetTail __P((char *));
-extern char *Var_GetHead __P((char *));
+extern char *VarModifiers_Apply(char *, const struct Name *, SymTable *,
+ Boolean, Boolean *, const char *, int, size_t *);
+extern char *Var_GetTail(char *);
+extern char *Var_GetHead(char *);
+extern void VarModifiers_Init(void);
#endif