diff options
| author | wiz <wiz@NetBSD.org> | 2012-06-10 21:44:12 +0000 |
|---|---|---|
| committer | wiz <wiz@NetBSD.org> | 2012-06-10 21:44:12 +0000 |
| commit | b6f75fca303c7e88c299844f49bf3a0f764e09fd (patch) | |
| tree | 1034ef3b6118b949e5e6c34c13c4c4d9ea567530 /usr.bin/make/make_malloc.c | |
| parent | 797d9948d39f0ca608828d0187b3a6e3000ec605 (diff) | |
Declare enomem __dead for clang.
Diffstat (limited to 'usr.bin/make/make_malloc.c')
| -rw-r--r-- | usr.bin/make/make_malloc.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/make/make_malloc.c b/usr.bin/make/make_malloc.c index 87f6840979e..2a58af22d1a 100644 --- a/usr.bin/make/make_malloc.c +++ b/usr.bin/make/make_malloc.c @@ -1,4 +1,4 @@ -/* $NetBSD: make_malloc.c,v 1.7 2012/05/18 02:28:16 sjg Exp $ */ +/* $NetBSD: make_malloc.c,v 1.8 2012/06/10 21:44:12 wiz Exp $ */ /*- * Copyright (c) 2009 The NetBSD Foundation, Inc. @@ -28,7 +28,7 @@ #ifdef MAKE_NATIVE #include <sys/cdefs.h> -__RCSID("$NetBSD: make_malloc.c,v 1.7 2012/05/18 02:28:16 sjg Exp $"); +__RCSID("$NetBSD: make_malloc.c,v 1.8 2012/06/10 21:44:12 wiz Exp $"); #endif #include <stdio.h> @@ -39,6 +39,8 @@ __RCSID("$NetBSD: make_malloc.c,v 1.7 2012/05/18 02:28:16 sjg Exp $"); #include "make_malloc.h" #ifndef USE_EMALLOC +static void enomem(void) __dead; + /* * enomem -- * die when out of memory. |
