Module Name: src
Committed By: wiz
Date: Sun Jun 10 21:44:12 UTC 2012
Modified Files:
src/usr.bin/make: make_malloc.c
Log Message:
Declare enomem __dead for clang.
To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/usr.bin/make/make_malloc.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/make/make_malloc.c
diff -u src/usr.bin/make/make_malloc.c:1.7 src/usr.bin/make/make_malloc.c:1.8
--- src/usr.bin/make/make_malloc.c:1.7 Fri May 18 02:28:16 2012
+++ src/usr.bin/make/make_malloc.c Sun Jun 10 21:44:12 2012
@@ -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 20
#include "make_malloc.h"
#ifndef USE_EMALLOC
+static void enomem(void) __dead;
+
/*
* enomem --
* die when out of memory.