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 'libgloss/libnosys/sbrk.c')
-rw-r--r--libgloss/libnosys/sbrk.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/libgloss/libnosys/sbrk.c b/libgloss/libnosys/sbrk.c
deleted file mode 100644
index 86c130ab6..000000000
--- a/libgloss/libnosys/sbrk.c
+++ /dev/null
@@ -1,21 +0,0 @@
-/* Version of sbrk for no operating system. */
-
-#include "config.h"
-#include <_syslist.h>
-
-void *
-_sbrk (incr)
- int incr;
-{
- extern char end; /* Set by linker. */
- static char * heap_end;
- char * prev_heap_end;
-
- if (heap_end == 0)
- heap_end = & end;
-
- prev_heap_end = heap_end;
- heap_end += incr;
-
- return (void *) prev_heap_end;
-}