From 42c9f525369ba06742d53d7a89ad00153b317de6 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Mon, 13 Feb 2006 08:14:12 +0000 Subject: Add files for IMA. Yes, I know it's a hack and no, I won't split the affected files --- libc/stdlib/malloc-simple/calloc.c | 8 ++++++++ libc/stdlib/malloc-simple/free.c | 8 ++++++++ libc/stdlib/malloc-simple/malloc.c | 8 ++++++++ libc/stdlib/malloc-simple/memalign.c | 8 ++++++++ libc/stdlib/malloc-simple/realloc.c | 8 ++++++++ 5 files changed, 40 insertions(+) create mode 100644 libc/stdlib/malloc-simple/calloc.c create mode 100644 libc/stdlib/malloc-simple/free.c create mode 100644 libc/stdlib/malloc-simple/malloc.c create mode 100644 libc/stdlib/malloc-simple/memalign.c create mode 100644 libc/stdlib/malloc-simple/realloc.c (limited to 'libc/stdlib/malloc-simple') diff --git a/libc/stdlib/malloc-simple/calloc.c b/libc/stdlib/malloc-simple/calloc.c new file mode 100644 index 000000000..75edff86d --- /dev/null +++ b/libc/stdlib/malloc-simple/calloc.c @@ -0,0 +1,8 @@ +/* + * Copyright (C) 2000-2006 Erik Andersen + * + * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. + */ + +#define L_calloc +#include "alloc.c" diff --git a/libc/stdlib/malloc-simple/free.c b/libc/stdlib/malloc-simple/free.c new file mode 100644 index 000000000..553a6bfc8 --- /dev/null +++ b/libc/stdlib/malloc-simple/free.c @@ -0,0 +1,8 @@ +/* + * Copyright (C) 2000-2006 Erik Andersen + * + * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. + */ + +#define L_free +#include "alloc.c" diff --git a/libc/stdlib/malloc-simple/malloc.c b/libc/stdlib/malloc-simple/malloc.c new file mode 100644 index 000000000..61f33d871 --- /dev/null +++ b/libc/stdlib/malloc-simple/malloc.c @@ -0,0 +1,8 @@ +/* + * Copyright (C) 2000-2006 Erik Andersen + * + * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. + */ + +#define L_malloc +#include "alloc.c" diff --git a/libc/stdlib/malloc-simple/memalign.c b/libc/stdlib/malloc-simple/memalign.c new file mode 100644 index 000000000..24b7ab9c5 --- /dev/null +++ b/libc/stdlib/malloc-simple/memalign.c @@ -0,0 +1,8 @@ +/* + * Copyright (C) 2000-2006 Erik Andersen + * + * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. + */ + +#define L_memalign +#include "alloc.c" diff --git a/libc/stdlib/malloc-simple/realloc.c b/libc/stdlib/malloc-simple/realloc.c new file mode 100644 index 000000000..de9675d59 --- /dev/null +++ b/libc/stdlib/malloc-simple/realloc.c @@ -0,0 +1,8 @@ +/* + * Copyright (C) 2000-2006 Erik Andersen + * + * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. + */ + +#define L_realloc +#include "alloc.c" -- cgit v1.2.3