diff options
author | Hartmut Brandt <harti@FreeBSD.org> | 2005-02-02 11:25:05 +0000 |
---|---|---|
committer | Hartmut Brandt <harti@FreeBSD.org> | 2005-02-02 11:25:05 +0000 |
commit | b09fe25c80cefe37e47406aff400cb552d52c3bd (patch) | |
tree | 86f69632e2f79ef2d0efdd1c8cdcb6c00218b856 /usr.bin/make | |
parent | 6f8d22e4163f8b62e700aef7a76f37ffbb848ee3 (diff) | |
download | src-b09fe25c80cefe37e47406aff400cb552d52c3bd.tar.gz src-b09fe25c80cefe37e47406aff400cb552d52c3bd.zip |
Make enomem static - it's referenced only in util.c.
Submitted by: Max Okumoto <okumoto@ucsd.edu>
Notes
Notes:
svn path=/head/; revision=141139
Diffstat (limited to 'usr.bin/make')
-rw-r--r-- | usr.bin/make/util.c | 4 | ||||
-rw-r--r-- | usr.bin/make/util.h | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/make/util.c b/usr.bin/make/util.c index 31d708ee32fa..a3620d6688fb 100644 --- a/usr.bin/make/util.c +++ b/usr.bin/make/util.c @@ -61,6 +61,8 @@ __FBSDID("$FreeBSD$"); #include "targ.h" #include "util.h" +static void enomem(void) __dead2; + /*- * Debug -- * Print a debugging message given its format. @@ -247,7 +249,7 @@ erealloc(void *ptr, size_t size) * enomem -- * die when out of memory. */ -void +static void enomem(void) { err(2, NULL); diff --git a/usr.bin/make/util.h b/usr.bin/make/util.h index 844197f20722..567052694981 100644 --- a/usr.bin/make/util.h +++ b/usr.bin/make/util.h @@ -84,7 +84,6 @@ void Finish(int); char *estrdup(const char *); void *emalloc(size_t); void *erealloc(void *, size_t); -void enomem(void); int eunlink(const char *); #endif /* util_h_b7020fdb */ |