Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/mmeye/include Since this port doesn't build its "st...
details: https://anonhg.NetBSD.org/src/rev/4ce99ed495f2
branches: trunk
changeset: 762571:4ce99ed495f2
user: he <he%NetBSD.org@localhost>
date: Wed Feb 23 09:06:48 2011 +0000
description:
Since this port doesn't build its "stand" binaries with _STANDALONE
defined, put in declarations of alloc() and dealloc() which are now
used instead of malloc() / free(), so that the stand/ binaries build again.
diffstat:
sys/arch/mmeye/include/loadfile_machdep.h | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (16 lines):
diff -r 4abf1024779f -r 4ce99ed495f2 sys/arch/mmeye/include/loadfile_machdep.h
--- a/sys/arch/mmeye/include/loadfile_machdep.h Wed Feb 23 08:53:21 2011 +0000
+++ b/sys/arch/mmeye/include/loadfile_machdep.h Wed Feb 23 09:06:48 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: loadfile_machdep.h,v 1.5 2011/02/19 10:46:28 kiyohara Exp $ */
+/* $NetBSD: loadfile_machdep.h,v 1.6 2011/02/23 09:06:48 he Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -45,3 +45,6 @@
#define PROGRESS(a) (void) printf a
#define ALLOC(a) alloc(a)
#define DEALLOC(a, b) dealloc(a, b)
+
+void *alloc(size_t);
+void dealloc(void *, size_t);
Home |
Main Index |
Thread Index |
Old Index