Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/make Declare enomem __dead for clang.
details: https://anonhg.NetBSD.org/src/rev/cea4625ba4d0
branches: trunk
changeset: 779686:cea4625ba4d0
user: wiz <wiz%NetBSD.org@localhost>
date: Sun Jun 10 21:44:12 2012 +0000
description:
Declare enomem __dead for clang.
diffstat:
usr.bin/make/make_malloc.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r 14a5fb936437 -r cea4625ba4d0 usr.bin/make/make_malloc.c
--- a/usr.bin/make/make_malloc.c Sun Jun 10 21:44:01 2012 +0000
+++ b/usr.bin/make/make_malloc.c Sun Jun 10 21:44:12 2012 +0000
@@ -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 @@
#include "make_malloc.h"
#ifndef USE_EMALLOC
+static void enomem(void) __dead;
+
/*
* enomem --
* die when out of memory.
Home |
Main Index |
Thread Index |
Old Index