Make enomem static - it's referenced only in util.c.
Submitted by: Max Okumoto <okumoto@ucsd.edu>
This commit is contained in:
parent
6f8d22e416
commit
b09fe25c80
@ -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);
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user