Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdlib/malloc.c')
-rw-r--r--newlib/libc/stdlib/malloc.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/newlib/libc/stdlib/malloc.c b/newlib/libc/stdlib/malloc.c
index 5acaa85d3..f5ac29208 100644
--- a/newlib/libc/stdlib/malloc.c
+++ b/newlib/libc/stdlib/malloc.c
@@ -159,15 +159,13 @@ Supporting OS subroutines required: <<sbrk>>. */
#ifndef _REENT_ONLY
void *
-_DEFUN (malloc, (nbytes),
- size_t nbytes) /* get a block */
+malloc (size_t nbytes) /* get a block */
{
return _malloc_r (_REENT, nbytes);
}
void
-_DEFUN (free, (aptr),
- void *aptr)
+free (void *aptr)
{
_free_r (_REENT, aptr);
}