summaryrefslogtreecommitdiff
path: root/usr.bin/make/stats.h
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2004-05-05 09:10:49 +0000
committerMarc Espie <espie@cvs.openbsd.org>2004-05-05 09:10:49 +0000
commit94666e8111fe4cbbb6a165b5cd1bd7a186c4b21b (patch)
tree84403c574eecb69c6382cd91d067b28fd5476c21 /usr.bin/make/stats.h
parentacad0cc2127adcafc4d3ff491a4142e6b6748c72 (diff)
constify char *.
Add lookup functions for suffixes and transforms, and stat them. okay otto@
Diffstat (limited to 'usr.bin/make/stats.h')
-rw-r--r--usr.bin/make/stats.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/usr.bin/make/stats.h b/usr.bin/make/stats.h
index e6083dbe8b1..f1f8520889c 100644
--- a/usr.bin/make/stats.h
+++ b/usr.bin/make/stats.h
@@ -1,7 +1,7 @@
#ifndef STAT_H
#define STAT_H
/* $OpenPackages$ */
-/* $OpenBSD: stats.h,v 1.3 2001/06/12 22:44:22 espie Exp $ */
+/* $OpenBSD: stats.h,v 1.4 2004/05/05 09:10:47 espie Exp $ */
/*
* Copyright (c) 1999 Marc Espie.
@@ -36,7 +36,8 @@
defined(STATS_GN_CREATION) || \
defined(STATS_BUF) || \
defined(STATS_HASH) || \
- defined(STATS_GROW)
+ defined(STATS_GROW) || \
+ defined(STATS_SUFF)
#define HAS_STATS
#endif
@@ -73,8 +74,10 @@ extern unsigned long *statarray;
#define STAT_VAR_GHASH_MAXSIZE statarray[26]
#define STAT_VAR_POWER statarray[27]
#define STAT_GROWARRAY statarray[28]
+#define STAT_SUFF_LOOKUP_NAME statarray[29]
+#define STAT_TRANSFORM_LOOKUP_NAME statarray[30]
-#define STAT_NUMBER 30
+#define STAT_NUMBER 32
#else
#define Init_Stats()