Make enomem static - it's referenced only in util.c.

Submitted by:	Max Okumoto <okumoto@ucsd.edu>
This commit is contained in:
Hartmut Brandt 2005-02-02 11:25:05 +00:00
parent 6f8d22e416
commit b09fe25c80
2 changed files with 3 additions and 2 deletions

View File

@ -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);

View File

@ -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 */