]> git.sur5r.net Git - freertos/commitdiff
Remove obsolete code.
authorrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Sun, 17 Feb 2008 18:08:59 +0000 (18:08 +0000)
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Sun, 17 Feb 2008 18:08:59 +0000 (18:08 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@198 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

Source/portable/Softune/MB96340/__STD_LIB_sbrk.c

index 3e8f577b6ef48af4d8fd3e1eae7b66bae4409df4..a520aff717af1e35f816cea53436a06c9695841c 100644 (file)
 #include <stdlib.h>\r
 \r
        static  long         brk_siz  =  0;\r
-//     #if  configTOTAL_HEAP_SIZE != 0\r
        typedef int          _heep_t;\r
        #define ROUNDUP(s)   (((s)+sizeof(_heep_t)-1)&~(sizeof(_heep_t)-1))\r
        static  _heep_t      _heep[ROUNDUP(configTOTAL_HEAP_SIZE)/sizeof(_heep_t)];\r
        #define              _heep_size      ROUNDUP(configTOTAL_HEAP_SIZE)\r
-/*     #else\r
-       extern  char        *_heep;\r
-       extern  long        _heep_size;\r
-       #endif\r
-*/     \r
+\r
        extern  char  *sbrk(int  size)\r
        {\r
           if  (brk_siz  +  size  >  _heep_size  ||  brk_siz  +  size  <  0)\r