Module Name: src Committed By: he Date: Wed Feb 23 09:06:48 UTC 2011
Modified Files: src/sys/arch/mmeye/include: loadfile_machdep.h Log Message: 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. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/arch/mmeye/include/loadfile_machdep.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/mmeye/include/loadfile_machdep.h diff -u src/sys/arch/mmeye/include/loadfile_machdep.h:1.5 src/sys/arch/mmeye/include/loadfile_machdep.h:1.6 --- src/sys/arch/mmeye/include/loadfile_machdep.h:1.5 Sat Feb 19 10:46:28 2011 +++ src/sys/arch/mmeye/include/loadfile_machdep.h Wed Feb 23 09:06:48 2011 @@ -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);