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:
authorJeff Johnston <jjohnstn@redhat.com>2014-03-04 21:39:26 +0400
committerJeff Johnston <jjohnstn@redhat.com>2014-03-04 21:39:26 +0400
commit065c7717b7593baee9a4e2eefd314f6a41646d66 (patch)
treef0b5eacccb92a8d5c80e587e3ccf5131b939fe4f /libgloss/libnosys
parent4e3c8d94251bb8a010e1656e824a46d4c2a14119 (diff)
2014-02-27 Joey Ye <joey.ye@arm.com>
* libnosys/sbrk.c (_sbrk): Remove TWS
Diffstat (limited to 'libgloss/libnosys')
-rw-r--r--libgloss/libnosys/sbrk.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/libgloss/libnosys/sbrk.c b/libgloss/libnosys/sbrk.c
index 39f411cdd..86c130ab6 100644
--- a/libgloss/libnosys/sbrk.c
+++ b/libgloss/libnosys/sbrk.c
@@ -6,16 +6,16 @@
void *
_sbrk (incr)
int incr;
-{
+{
extern char end; /* Set by linker. */
- static char * heap_end;
- char * prev_heap_end;
+ static char * heap_end;
+ char * prev_heap_end;
if (heap_end == 0)
- heap_end = & end;
+ heap_end = & end;
- prev_heap_end = heap_end;
- heap_end += incr;
+ prev_heap_end = heap_end;
+ heap_end += incr;
- return (void *) prev_heap_end;
-}
+ return (void *) prev_heap_end;
+}