diff options
author | harti <harti@FreeBSD.org> | 2005-02-02 11:25:05 +0000 |
---|---|---|
committer | harti <harti@FreeBSD.org> | 2005-02-02 11:25:05 +0000 |
commit | 3b3f6b62d14a9bd3723d78be2ec0ad405bb7df90 (patch) | |
tree | 86f69632e2f79ef2d0efdd1c8cdcb6c00218b856 /usr.bin | |
parent | f41efac821a90600bcf7536f8a348ad27508625b (diff) | |
download | FreeBSD-src-3b3f6b62d14a9bd3723d78be2ec0ad405bb7df90.zip FreeBSD-src-3b3f6b62d14a9bd3723d78be2ec0ad405bb7df90.tar.gz |
Make enomem static - it's referenced only in util.c.
Submitted by: Max Okumoto <okumoto@ucsd.edu>
Diffstat (limited to 'usr.bin')
-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 31d708e..a3620d6 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 844197f..5670526 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 */ |