use gcc malloc attribute macros for internal functions, too

This commit is contained in:
Lennart Poettering 2008-09-01 21:44:00 +02:00
parent 5467cc390d
commit 2c2b2717eb
2 changed files with 10 additions and 4 deletions

View file

@ -46,7 +46,7 @@
static void oom(void) PA_GCC_NORETURN;
/** called in case of an OOM situation. Prints an error message and
/* called in case of an OOM situation. Prints an error message and
* exits */
static void oom(void) {
static const char e[] = "Not enough memory\n";