]> sourceware.org Git - newlib-cygwin.git/commitdiff
2014-02-27 Joey Ye <joey.ye@arm.com>
authorJeff Johnston <jjohnstn@redhat.com>
Tue, 4 Mar 2014 17:39:26 +0000 (17:39 +0000)
committerJeff Johnston <jjohnstn@redhat.com>
Tue, 4 Mar 2014 17:39:26 +0000 (17:39 +0000)
        * libnosys/sbrk.c (_sbrk): Remove TWS

libgloss/ChangeLog
libgloss/libnosys/sbrk.c

index cd8af5f5ef68f7045baf7f160e912a7d5d29a931..29ce9c456188067fb8163866c3c0bb5501f87053 100644 (file)
@@ -1,7 +1,11 @@
+2014-02-27  Joey Ye  <joey.ye@arm.com>
+
+       * libnosys/sbrk.c (_sbrk): Remove TWS
+
 2014-02-11  Joey Ye  <joey.ye@arm.com>
 
-        * arm/syscalls.c (_sbrk): Define as weak symbols.
-        (_read, _write): Ditto.
+       * arm/syscalls.c (_sbrk): Define as weak symbols.
+       (_read, _write): Ditto.
 
 2014-02-03  Richard Earnshaw  <rearnsha@arm.com>
 
index 39f411cdd1b56e3ad40f49d4166ee96e54ba77aa..86c130ab60ffa24bb741e90f187d784915e93de0 100644 (file)
@@ -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;
+}
This page took 0.039452 seconds and 5 git commands to generate.