summaryrefslogtreecommitdiff
path: root/usr.bin/make/error.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/error.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/error.h')
-rw-r--r--usr.bin/make/error.h21
1 files changed, 11 insertions, 10 deletions
diff --git a/usr.bin/make/error.h b/usr.bin/make/error.h
index 5872cad2efe..d78d5bd5026 100644
--- a/usr.bin/make/error.h
+++ b/usr.bin/make/error.h
@@ -1,4 +1,5 @@
-/* $OpenBSD: error.h,v 1.4 2000/10/13 08:29:20 espie Exp $ */
+/* $OpenPackages$ */
+/* $OpenBSD: error.h,v 1.5 2001/05/03 13:41:05 espie Exp $ */
/*-
* Copyright (c) 1988, 1989, 1990, 1993
@@ -41,19 +42,19 @@
*/
#ifndef ERROR_H
#define ERROR_H
-extern void *emalloc __P((size_t));
-extern char *estrdup __P((const char *));
-extern void *erealloc __P((void *, size_t));
-extern void *ecalloc __P((size_t, size_t));
-extern int eunlink __P((const char *));
-extern void esetenv __P((const char *, const char *));
+extern void *emalloc(size_t);
+extern char *estrdup(const char *);
+extern void *erealloc(void *, size_t);
+extern void *ecalloc(size_t, size_t);
+extern int eunlink(const char *);
+extern void esetenv(const char *, const char *);
/* efree(x) works when x==NULL. STDC behavior, may need some different
* definition for cross-builds on deficient systems */
#define efree free
-extern void *hash_alloc __P((size_t, void *));
-extern void hash_free __P((void *, size_t, void *));
-extern void *element_alloc __P((size_t, void *));
+extern void *hash_alloc(size_t, void *);
+extern void hash_free(void *, size_t, void *);
+extern void *element_alloc(size_t, void *);
#endif /* ERROR_H */