Miguel Young de la Sota | d36c3e4 | 2022-03-28 12:56:09 -0400 | [diff] [blame] | 1 | From b7cde8ea8e5b144ad815a65b565fcc31f9b923cf Mon Sep 17 00:00:00 2001 |
| 2 | From: Miguel Young de la Sota <mcyoung@google.com> |
| 3 | Date: Mon, 28 Mar 2022 10:26:55 -0400 |
| 4 | Subject: [PATCH 2/3] Remove references to stdlib.h |
| 5 | |
| 6 | --- |
| 7 | event_groups.c | 2 +- |
| 8 | list.c | 2 +- |
| 9 | portable/ARMv8M/secure/heap/secure_heap.h | 2 +- |
| 10 | portable/BCC/16BitDOS/Flsh186/port.c | 2 +- |
| 11 | portable/BCC/16BitDOS/PC/port.c | 2 +- |
| 12 | portable/BCC/16BitDOS/common/portcomn.c | 2 +- |
| 13 | portable/GCC/ARM7_AT91FR40008/port.c | 2 +- |
| 14 | portable/GCC/ARM7_AT91SAM7S/port.c | 2 +- |
| 15 | portable/GCC/ARM7_LPC2000/port.c | 2 +- |
| 16 | portable/GCC/ARM7_LPC23xx/port.c | 2 +- |
| 17 | portable/GCC/ARM_CA53_64_BIT/port.c | 2 +- |
| 18 | portable/GCC/ARM_CA9/port.c | 2 +- |
| 19 | portable/GCC/ARM_CM23/secure/secure_heap.h | 2 +- |
| 20 | portable/GCC/ARM_CM33/secure/secure_heap.h | 2 +- |
| 21 | portable/GCC/ARM_CR5/port.c | 2 +- |
| 22 | portable/GCC/ARM_CRx_No_GIC/port.c | 2 +- |
| 23 | portable/GCC/ATMega323/port.c | 2 +- |
| 24 | portable/GCC/CORTUS_APS3/port.c | 2 +- |
| 25 | portable/GCC/MSP430F449/port.c | 2 +- |
| 26 | portable/GCC/TriCore_1782/port.c | 2 +- |
| 27 | portable/IAR/78K0R/port.c | 2 +- |
| 28 | portable/IAR/ARM_CA9/port.c | 2 +- |
| 29 | portable/IAR/ARM_CM23/secure/secure_heap.h | 2 +- |
| 30 | portable/IAR/ARM_CM33/secure/secure_heap.h | 2 +- |
| 31 | portable/IAR/ARM_CRx_No_GIC/port.c | 2 +- |
| 32 | portable/IAR/ATMega323/port.c | 2 +- |
| 33 | portable/IAR/AtmelSAM7S64/port.c | 2 +- |
| 34 | portable/IAR/AtmelSAM9XE/port.c | 2 +- |
| 35 | portable/IAR/LPC2000/port.c | 2 +- |
| 36 | portable/IAR/STR71x/port.c | 2 +- |
| 37 | portable/IAR/STR91x/port.c | 2 +- |
| 38 | portable/IAR/V850ES/port.c | 2 +- |
| 39 | portable/MemMang/heap_1.c | 2 +- |
| 40 | portable/MemMang/heap_2.c | 2 +- |
| 41 | portable/MemMang/heap_3.c | 2 +- |
| 42 | portable/MemMang/heap_4.c | 2 +- |
| 43 | portable/MemMang/heap_5.c | 2 +- |
| 44 | portable/RVDS/ARM7_LPC21xx/port.c | 2 +- |
| 45 | portable/RVDS/ARM_CA9/port.c | 2 +- |
| 46 | portable/Softune/MB91460/__STD_LIB_sbrk.c | 2 +- |
| 47 | portable/Softune/MB96340/__STD_LIB_sbrk.c | 2 +- |
| 48 | portable/ThirdParty/XCC/Xtensa/port.c | 2 +- |
| 49 | portable/ThirdParty/XCC/Xtensa/portclib.c | 2 +- |
| 50 | portable/ThirdParty/XCC/Xtensa/xtensa_intr.c | 2 +- |
| 51 | portable/oWatcom/16BitDOS/Flsh186/port.c | 2 +- |
| 52 | portable/oWatcom/16BitDOS/PC/port.c | 2 +- |
| 53 | portable/oWatcom/16BitDOS/common/portcomn.c | 2 +- |
| 54 | queue.c | 2 +- |
| 55 | tasks.c | 2 +- |
| 56 | timers.c | 2 +- |
| 57 | 50 files changed, 50 insertions(+), 50 deletions(-) |
| 58 | |
| 59 | diff --git a/event_groups.c b/event_groups.c |
| 60 | index 9abfada53..025f3d7d3 100644 |
| 61 | --- a/event_groups.c |
| 62 | +++ b/event_groups.c |
| 63 | @@ -27,7 +27,7 @@ |
| 64 | */
|
| 65 |
|
| 66 | /* Standard includes. */
|
| 67 | -#include <stdlib.h>
|
| 68 | +// #include <stdlib.h> |
| 69 |
|
| 70 | /* Defining MPU_WRAPPERS_INCLUDED_FROM_API_FILE prevents task.h from redefining
|
| 71 | * all the API functions to use the MPU wrappers. That should only be done when
|
| 72 | diff --git a/list.c b/list.c |
| 73 | index 2dc598ce3..30e833a74 100644 |
| 74 | --- a/list.c |
| 75 | +++ b/list.c |
| 76 | @@ -27,7 +27,7 @@ |
| 77 | */
|
| 78 |
|
| 79 |
|
| 80 | -#include <stdlib.h>
|
| 81 | +// #include <stdlib.h> |
| 82 |
|
| 83 | /* Defining MPU_WRAPPERS_INCLUDED_FROM_API_FILE prevents task.h from redefining
|
| 84 | * all the API functions to use the MPU wrappers. That should only be done when
|
| 85 | diff --git a/portable/ARMv8M/secure/heap/secure_heap.h b/portable/ARMv8M/secure/heap/secure_heap.h |
| 86 | index f08c092f2..f5890d5bb 100644 |
| 87 | --- a/portable/ARMv8M/secure/heap/secure_heap.h |
| 88 | +++ b/portable/ARMv8M/secure/heap/secure_heap.h |
| 89 | @@ -30,7 +30,7 @@ |
| 90 | #define __SECURE_HEAP_H__
|
| 91 |
|
| 92 | /* Standard includes. */
|
| 93 | -#include <stdlib.h>
|
| 94 | +// #include <stdlib.h> |
| 95 |
|
| 96 | /**
|
| 97 | * @brief Allocates memory from heap.
|
| 98 | diff --git a/portable/BCC/16BitDOS/Flsh186/port.c b/portable/BCC/16BitDOS/Flsh186/port.c |
| 99 | index 07a424c2c..a5b189556 100644 |
| 100 | --- a/portable/BCC/16BitDOS/Flsh186/port.c |
| 101 | +++ b/portable/BCC/16BitDOS/Flsh186/port.c |
| 102 | @@ -45,7 +45,7 @@ Changes from V2.6.1 |
| 103 | *----------------------------------------------------------*/
|
| 104 |
|
| 105 | #include <dos.h>
|
| 106 | -#include <stdlib.h>
|
| 107 | +// #include <stdlib.h> |
| 108 | #include <setjmp.h>
|
| 109 |
|
| 110 | #include "FreeRTOS.h"
|
| 111 | diff --git a/portable/BCC/16BitDOS/PC/port.c b/portable/BCC/16BitDOS/PC/port.c |
| 112 | index 302d38911..5340c4230 100644 |
| 113 | --- a/portable/BCC/16BitDOS/PC/port.c |
| 114 | +++ b/portable/BCC/16BitDOS/PC/port.c |
| 115 | @@ -38,7 +38,7 @@ Changes from V4.0.1 |
| 116 | its proper value when the scheduler exits.
|
| 117 | */
|
| 118 |
|
| 119 | -#include <stdlib.h>
|
| 120 | +// #include <stdlib.h> |
| 121 | #include <dos.h>
|
| 122 | #include <setjmp.h>
|
| 123 |
|
| 124 | diff --git a/portable/BCC/16BitDOS/common/portcomn.c b/portable/BCC/16BitDOS/common/portcomn.c |
| 125 | index 68f81bd47..d417070c5 100644 |
| 126 | --- a/portable/BCC/16BitDOS/common/portcomn.c |
| 127 | +++ b/portable/BCC/16BitDOS/common/portcomn.c |
| 128 | @@ -40,7 +40,7 @@ Changes from V2.6.1 |
| 129 |
|
| 130 |
|
| 131 | #include <dos.h>
|
| 132 | -#include <stdlib.h>
|
| 133 | +// #include <stdlib.h> |
| 134 | #include "FreeRTOS.h"
|
| 135 |
|
| 136 | /*-----------------------------------------------------------*/
|
| 137 | diff --git a/portable/GCC/ARM7_AT91FR40008/port.c b/portable/GCC/ARM7_AT91FR40008/port.c |
| 138 | index 69376d5c2..a6fc7e20c 100644 |
| 139 | --- a/portable/GCC/ARM7_AT91FR40008/port.c |
| 140 | +++ b/portable/GCC/ARM7_AT91FR40008/port.c |
| 141 | @@ -37,7 +37,7 @@ |
| 142 | *----------------------------------------------------------*/
|
| 143 |
|
| 144 | /* Standard includes. */
|
| 145 | -#include <stdlib.h>
|
| 146 | +// #include <stdlib.h> |
| 147 |
|
| 148 | /* Scheduler includes. */
|
| 149 | #include "FreeRTOS.h"
|
| 150 | diff --git a/portable/GCC/ARM7_AT91SAM7S/port.c b/portable/GCC/ARM7_AT91SAM7S/port.c |
| 151 | index d744d5ee4..702f74dfb 100644 |
| 152 | --- a/portable/GCC/ARM7_AT91SAM7S/port.c |
| 153 | +++ b/portable/GCC/ARM7_AT91SAM7S/port.c |
| 154 | @@ -36,7 +36,7 @@ |
| 155 | *----------------------------------------------------------*/
|
| 156 |
|
| 157 | /* Standard includes. */
|
| 158 | -#include <stdlib.h>
|
| 159 | +// #include <stdlib.h> |
| 160 |
|
| 161 | /* Scheduler includes. */
|
| 162 | #include "FreeRTOS.h"
|
| 163 | diff --git a/portable/GCC/ARM7_LPC2000/port.c b/portable/GCC/ARM7_LPC2000/port.c |
| 164 | index d5dc4b1de..c890689bf 100644 |
| 165 | --- a/portable/GCC/ARM7_LPC2000/port.c |
| 166 | +++ b/portable/GCC/ARM7_LPC2000/port.c |
| 167 | @@ -37,7 +37,7 @@ |
| 168 |
|
| 169 |
|
| 170 | /* Standard includes. */
|
| 171 | -#include <stdlib.h>
|
| 172 | +// #include <stdlib.h> |
| 173 |
|
| 174 | /* Scheduler includes. */
|
| 175 | #include "FreeRTOS.h"
|
| 176 | diff --git a/portable/GCC/ARM7_LPC23xx/port.c b/portable/GCC/ARM7_LPC23xx/port.c |
| 177 | index 15d1a2199..c208f7f4a 100644 |
| 178 | --- a/portable/GCC/ARM7_LPC23xx/port.c |
| 179 | +++ b/portable/GCC/ARM7_LPC23xx/port.c |
| 180 | @@ -37,7 +37,7 @@ |
| 181 |
|
| 182 |
|
| 183 | /* Standard includes. */
|
| 184 | -#include <stdlib.h>
|
| 185 | +// #include <stdlib.h> |
| 186 |
|
| 187 | /* Scheduler includes. */
|
| 188 | #include "FreeRTOS.h"
|
| 189 | diff --git a/portable/GCC/ARM_CA53_64_BIT/port.c b/portable/GCC/ARM_CA53_64_BIT/port.c |
| 190 | index b8722e332..0de03c777 100644 |
| 191 | --- a/portable/GCC/ARM_CA53_64_BIT/port.c |
| 192 | +++ b/portable/GCC/ARM_CA53_64_BIT/port.c |
| 193 | @@ -27,7 +27,7 @@ |
| 194 | */
|
| 195 |
|
| 196 | /* Standard includes. */
|
| 197 | -#include <stdlib.h>
|
| 198 | +// #include <stdlib.h> |
| 199 |
|
| 200 | /* Scheduler includes. */
|
| 201 | #include "FreeRTOS.h"
|
| 202 | diff --git a/portable/GCC/ARM_CA9/port.c b/portable/GCC/ARM_CA9/port.c |
| 203 | index a7bafb355..35601951b 100644 |
| 204 | --- a/portable/GCC/ARM_CA9/port.c |
| 205 | +++ b/portable/GCC/ARM_CA9/port.c |
| 206 | @@ -27,7 +27,7 @@ |
| 207 | */
|
| 208 |
|
| 209 | /* Standard includes. */
|
| 210 | -#include <stdlib.h>
|
| 211 | +// #include <stdlib.h> |
| 212 |
|
| 213 | /* Scheduler includes. */
|
| 214 | #include "FreeRTOS.h"
|
| 215 | diff --git a/portable/GCC/ARM_CM23/secure/secure_heap.h b/portable/GCC/ARM_CM23/secure/secure_heap.h |
| 216 | index f08c092f2..f5890d5bb 100644 |
| 217 | --- a/portable/GCC/ARM_CM23/secure/secure_heap.h |
| 218 | +++ b/portable/GCC/ARM_CM23/secure/secure_heap.h |
| 219 | @@ -30,7 +30,7 @@ |
| 220 | #define __SECURE_HEAP_H__
|
| 221 |
|
| 222 | /* Standard includes. */
|
| 223 | -#include <stdlib.h>
|
| 224 | +// #include <stdlib.h> |
| 225 |
|
| 226 | /**
|
| 227 | * @brief Allocates memory from heap.
|
| 228 | diff --git a/portable/GCC/ARM_CM33/secure/secure_heap.h b/portable/GCC/ARM_CM33/secure/secure_heap.h |
| 229 | index f08c092f2..f5890d5bb 100644 |
| 230 | --- a/portable/GCC/ARM_CM33/secure/secure_heap.h |
| 231 | +++ b/portable/GCC/ARM_CM33/secure/secure_heap.h |
| 232 | @@ -30,7 +30,7 @@ |
| 233 | #define __SECURE_HEAP_H__
|
| 234 |
|
| 235 | /* Standard includes. */
|
| 236 | -#include <stdlib.h>
|
| 237 | +// #include <stdlib.h> |
| 238 |
|
| 239 | /**
|
| 240 | * @brief Allocates memory from heap.
|
| 241 | diff --git a/portable/GCC/ARM_CR5/port.c b/portable/GCC/ARM_CR5/port.c |
| 242 | index b56e30a70..49f382367 100644 |
| 243 | --- a/portable/GCC/ARM_CR5/port.c |
| 244 | +++ b/portable/GCC/ARM_CR5/port.c |
| 245 | @@ -27,7 +27,7 @@ |
| 246 | */
|
| 247 |
|
| 248 | /* Standard includes. */
|
| 249 | -#include <stdlib.h>
|
| 250 | +// #include <stdlib.h> |
| 251 |
|
| 252 | /* Scheduler includes. */
|
| 253 | #include "FreeRTOS.h"
|
| 254 | diff --git a/portable/GCC/ARM_CRx_No_GIC/port.c b/portable/GCC/ARM_CRx_No_GIC/port.c |
| 255 | index 6037a10b4..b60925fe0 100644 |
| 256 | --- a/portable/GCC/ARM_CRx_No_GIC/port.c |
| 257 | +++ b/portable/GCC/ARM_CRx_No_GIC/port.c |
| 258 | @@ -27,7 +27,7 @@ |
| 259 | */
|
| 260 |
|
| 261 | /* Standard includes. */
|
| 262 | -#include <stdlib.h>
|
| 263 | +// #include <stdlib.h> |
| 264 |
|
| 265 | /* Scheduler includes. */
|
| 266 | #include "FreeRTOS.h"
|
| 267 | diff --git a/portable/GCC/ATMega323/port.c b/portable/GCC/ATMega323/port.c |
| 268 | index ab0a9ea10..48e0eec86 100644 |
| 269 | --- a/portable/GCC/ATMega323/port.c |
| 270 | +++ b/portable/GCC/ATMega323/port.c |
| 271 | @@ -35,7 +35,7 @@ Changes from V2.6.0 |
| 272 | WinAVR.
|
| 273 | */
|
| 274 |
|
| 275 | -#include <stdlib.h>
|
| 276 | +// #include <stdlib.h> |
| 277 | #include <avr/interrupt.h>
|
| 278 |
|
| 279 | #include "FreeRTOS.h"
|
| 280 | diff --git a/portable/GCC/CORTUS_APS3/port.c b/portable/GCC/CORTUS_APS3/port.c |
| 281 | index 0d7110b1e..13e993e7e 100644 |
| 282 | --- a/portable/GCC/CORTUS_APS3/port.c |
| 283 | +++ b/portable/GCC/CORTUS_APS3/port.c |
| 284 | @@ -27,7 +27,7 @@ |
| 285 | */
|
| 286 |
|
| 287 | /* Standard includes. */
|
| 288 | -#include <stdlib.h>
|
| 289 | +// #include <stdlib.h> |
| 290 |
|
| 291 | /* Kernel includes. */
|
| 292 | #include "FreeRTOS.h"
|
| 293 | diff --git a/portable/GCC/MSP430F449/port.c b/portable/GCC/MSP430F449/port.c |
| 294 | index c8dd45af2..743c94f51 100644 |
| 295 | --- a/portable/GCC/MSP430F449/port.c |
| 296 | +++ b/portable/GCC/MSP430F449/port.c |
| 297 | @@ -33,7 +33,7 @@ |
| 298 | */
|
| 299 |
|
| 300 | /* Standard includes. */
|
| 301 | -#include <stdlib.h>
|
| 302 | +// #include <stdlib.h> |
| 303 | #include <signal.h>
|
| 304 |
|
| 305 | /* Scheduler includes. */
|
| 306 | diff --git a/portable/GCC/TriCore_1782/port.c b/portable/GCC/TriCore_1782/port.c |
| 307 | index 0dedda2e2..329624251 100644 |
| 308 | --- a/portable/GCC/TriCore_1782/port.c |
| 309 | +++ b/portable/GCC/TriCore_1782/port.c |
| 310 | @@ -27,7 +27,7 @@ |
| 311 | */
|
| 312 |
|
| 313 | /* Standard includes. */
|
| 314 | -#include <stdlib.h>
|
| 315 | +// #include <stdlib.h> |
| 316 | #include <string.h>
|
| 317 |
|
| 318 | /* TriCore specific includes. */
|
| 319 | diff --git a/portable/IAR/78K0R/port.c b/portable/IAR/78K0R/port.c |
| 320 | index 3a5aff07e..560461e16 100644 |
| 321 | --- a/portable/IAR/78K0R/port.c |
| 322 | +++ b/portable/IAR/78K0R/port.c |
| 323 | @@ -27,7 +27,7 @@ |
| 324 | */
|
| 325 |
|
| 326 | /* Standard includes. */
|
| 327 | -#include <stdlib.h>
|
| 328 | +// #include <stdlib.h> |
| 329 |
|
| 330 | /* Scheduler includes. */
|
| 331 | #include "FreeRTOS.h"
|
| 332 | diff --git a/portable/IAR/ARM_CA9/port.c b/portable/IAR/ARM_CA9/port.c |
| 333 | index 1c6ffe87f..6784cd84c 100644 |
| 334 | --- a/portable/IAR/ARM_CA9/port.c |
| 335 | +++ b/portable/IAR/ARM_CA9/port.c |
| 336 | @@ -27,7 +27,7 @@ |
| 337 | */
|
| 338 |
|
| 339 | /* Standard includes. */
|
| 340 | -#include <stdlib.h>
|
| 341 | +// #include <stdlib.h> |
| 342 |
|
| 343 | /* IAR includes. */
|
| 344 | #include <intrinsics.h>
|
| 345 | diff --git a/portable/IAR/ARM_CM23/secure/secure_heap.h b/portable/IAR/ARM_CM23/secure/secure_heap.h |
| 346 | index f08c092f2..f5890d5bb 100644 |
| 347 | --- a/portable/IAR/ARM_CM23/secure/secure_heap.h |
| 348 | +++ b/portable/IAR/ARM_CM23/secure/secure_heap.h |
| 349 | @@ -30,7 +30,7 @@ |
| 350 | #define __SECURE_HEAP_H__
|
| 351 |
|
| 352 | /* Standard includes. */
|
| 353 | -#include <stdlib.h>
|
| 354 | +// #include <stdlib.h> |
| 355 |
|
| 356 | /**
|
| 357 | * @brief Allocates memory from heap.
|
| 358 | diff --git a/portable/IAR/ARM_CM33/secure/secure_heap.h b/portable/IAR/ARM_CM33/secure/secure_heap.h |
| 359 | index f08c092f2..f5890d5bb 100644 |
| 360 | --- a/portable/IAR/ARM_CM33/secure/secure_heap.h |
| 361 | +++ b/portable/IAR/ARM_CM33/secure/secure_heap.h |
| 362 | @@ -30,7 +30,7 @@ |
| 363 | #define __SECURE_HEAP_H__
|
| 364 |
|
| 365 | /* Standard includes. */
|
| 366 | -#include <stdlib.h>
|
| 367 | +// #include <stdlib.h> |
| 368 |
|
| 369 | /**
|
| 370 | * @brief Allocates memory from heap.
|
| 371 | diff --git a/portable/IAR/ARM_CRx_No_GIC/port.c b/portable/IAR/ARM_CRx_No_GIC/port.c |
| 372 | index 07623cf4c..382e9a972 100644 |
| 373 | --- a/portable/IAR/ARM_CRx_No_GIC/port.c |
| 374 | +++ b/portable/IAR/ARM_CRx_No_GIC/port.c |
| 375 | @@ -27,7 +27,7 @@ |
| 376 | */
|
| 377 |
|
| 378 | /* Standard includes. */
|
| 379 | -#include <stdlib.h>
|
| 380 | +// #include <stdlib.h> |
| 381 |
|
| 382 | /* Scheduler includes. */
|
| 383 | #include "FreeRTOS.h"
|
| 384 | diff --git a/portable/IAR/ATMega323/port.c b/portable/IAR/ATMega323/port.c |
| 385 | index 7b7504b32..ad9bfeef7 100644 |
| 386 | --- a/portable/IAR/ATMega323/port.c |
| 387 | +++ b/portable/IAR/ATMega323/port.c |
| 388 | @@ -26,7 +26,7 @@ |
| 389 | *
|
| 390 | */
|
| 391 |
|
| 392 | -#include <stdlib.h>
|
| 393 | +// #include <stdlib.h> |
| 394 |
|
| 395 | #include "FreeRTOS.h"
|
| 396 | #include "task.h"
|
| 397 | diff --git a/portable/IAR/AtmelSAM7S64/port.c b/portable/IAR/AtmelSAM7S64/port.c |
| 398 | index 15d00fe4e..3b9fd8395 100644 |
| 399 | --- a/portable/IAR/AtmelSAM7S64/port.c |
| 400 | +++ b/portable/IAR/AtmelSAM7S64/port.c |
| 401 | @@ -32,7 +32,7 @@ |
| 402 |
|
| 403 |
|
| 404 | /* Standard includes. */
|
| 405 | -#include <stdlib.h>
|
| 406 | +// #include <stdlib.h> |
| 407 |
|
| 408 | /* Scheduler includes. */
|
| 409 | #include "FreeRTOS.h"
|
| 410 | diff --git a/portable/IAR/AtmelSAM9XE/port.c b/portable/IAR/AtmelSAM9XE/port.c |
| 411 | index fd53a387f..c02392e35 100644 |
| 412 | --- a/portable/IAR/AtmelSAM9XE/port.c |
| 413 | +++ b/portable/IAR/AtmelSAM9XE/port.c |
| 414 | @@ -32,7 +32,7 @@ |
| 415 |
|
| 416 |
|
| 417 | /* Standard includes. */
|
| 418 | -#include <stdlib.h>
|
| 419 | +// #include <stdlib.h> |
| 420 |
|
| 421 | /* Scheduler includes. */
|
| 422 | #include "FreeRTOS.h"
|
| 423 | diff --git a/portable/IAR/LPC2000/port.c b/portable/IAR/LPC2000/port.c |
| 424 | index 8552f5b7c..c00f007bb 100644 |
| 425 | --- a/portable/IAR/LPC2000/port.c |
| 426 | +++ b/portable/IAR/LPC2000/port.c |
| 427 | @@ -39,7 +39,7 @@ |
| 428 | */
|
| 429 |
|
| 430 | /* Standard includes. */
|
| 431 | -#include <stdlib.h>
|
| 432 | +// #include <stdlib.h> |
| 433 | #include <intrinsics.h>
|
| 434 |
|
| 435 | /* Scheduler includes. */
|
| 436 | diff --git a/portable/IAR/STR71x/port.c b/portable/IAR/STR71x/port.c |
| 437 | index 273735334..d6a4bb29f 100644 |
| 438 | --- a/portable/IAR/STR71x/port.c |
| 439 | +++ b/portable/IAR/STR71x/port.c |
| 440 | @@ -36,7 +36,7 @@ |
| 441 | #include "eic.h"
|
| 442 |
|
| 443 | /* Standard includes. */
|
| 444 | -#include <stdlib.h>
|
| 445 | +// #include <stdlib.h> |
| 446 |
|
| 447 | /* Scheduler includes. */
|
| 448 | #include "FreeRTOS.h"
|
| 449 | diff --git a/portable/IAR/STR91x/port.c b/portable/IAR/STR91x/port.c |
| 450 | index bc7d6c852..ad637b1c8 100644 |
| 451 | --- a/portable/IAR/STR91x/port.c |
| 452 | +++ b/portable/IAR/STR91x/port.c |
| 453 | @@ -35,7 +35,7 @@ |
| 454 | #include "91x_lib.h"
|
| 455 |
|
| 456 | /* Standard includes. */
|
| 457 | -#include <stdlib.h>
|
| 458 | +// #include <stdlib.h> |
| 459 | #include <assert.h>
|
| 460 |
|
| 461 | /* Scheduler includes. */
|
| 462 | diff --git a/portable/IAR/V850ES/port.c b/portable/IAR/V850ES/port.c |
| 463 | index 871061ae9..ddd3bdce0 100644 |
| 464 | --- a/portable/IAR/V850ES/port.c |
| 465 | +++ b/portable/IAR/V850ES/port.c |
| 466 | @@ -27,7 +27,7 @@ |
| 467 | */
|
| 468 |
|
| 469 | /* Standard includes. */
|
| 470 | -#include <stdlib.h>
|
| 471 | +// #include <stdlib.h> |
| 472 |
|
| 473 | /* Scheduler includes. */
|
| 474 | #include "FreeRTOS.h"
|
| 475 | diff --git a/portable/MemMang/heap_1.c b/portable/MemMang/heap_1.c |
| 476 | index 68c4c5f77..01036da92 100644 |
| 477 | --- a/portable/MemMang/heap_1.c |
| 478 | +++ b/portable/MemMang/heap_1.c |
| 479 | @@ -34,7 +34,7 @@ |
| 480 | * See heap_2.c, heap_3.c and heap_4.c for alternative implementations, and the
|
| 481 | * memory management pages of https://www.FreeRTOS.org for more information.
|
| 482 | */
|
| 483 | -#include <stdlib.h>
|
| 484 | +// #include <stdlib.h> |
| 485 |
|
| 486 | /* Defining MPU_WRAPPERS_INCLUDED_FROM_API_FILE prevents task.h from redefining
|
| 487 | * all the API functions to use the MPU wrappers. That should only be done when
|
| 488 | diff --git a/portable/MemMang/heap_2.c b/portable/MemMang/heap_2.c |
| 489 | index b16b24564..54c800729 100644 |
| 490 | --- a/portable/MemMang/heap_2.c |
| 491 | +++ b/portable/MemMang/heap_2.c |
| 492 | @@ -35,7 +35,7 @@ |
| 493 | * See heap_1.c, heap_3.c and heap_4.c for alternative implementations, and the
|
| 494 | * memory management pages of https://www.FreeRTOS.org for more information.
|
| 495 | */
|
| 496 | -#include <stdlib.h>
|
| 497 | +// #include <stdlib.h> |
| 498 |
|
| 499 | /* Defining MPU_WRAPPERS_INCLUDED_FROM_API_FILE prevents task.h from redefining
|
| 500 | * all the API functions to use the MPU wrappers. That should only be done when
|
| 501 | diff --git a/portable/MemMang/heap_3.c b/portable/MemMang/heap_3.c |
| 502 | index f8ce855f3..e5e901946 100644 |
| 503 | --- a/portable/MemMang/heap_3.c |
| 504 | +++ b/portable/MemMang/heap_3.c |
| 505 | @@ -38,7 +38,7 @@ |
| 506 | * memory management pages of https://www.FreeRTOS.org for more information.
|
| 507 | */
|
| 508 |
|
| 509 | -#include <stdlib.h>
|
| 510 | +// #include <stdlib.h> |
| 511 |
|
| 512 | /* Defining MPU_WRAPPERS_INCLUDED_FROM_API_FILE prevents task.h from redefining
|
| 513 | * all the API functions to use the MPU wrappers. That should only be done when
|
| 514 | diff --git a/portable/MemMang/heap_4.c b/portable/MemMang/heap_4.c |
| 515 | index 2cd9065b8..e398a20ba 100644 |
| 516 | --- a/portable/MemMang/heap_4.c |
| 517 | +++ b/portable/MemMang/heap_4.c |
| 518 | @@ -34,7 +34,7 @@ |
| 519 | * See heap_1.c, heap_2.c and heap_3.c for alternative implementations, and the
|
| 520 | * memory management pages of https://www.FreeRTOS.org for more information.
|
| 521 | */
|
| 522 | -#include <stdlib.h>
|
| 523 | +// #include <stdlib.h> |
| 524 |
|
| 525 | /* Defining MPU_WRAPPERS_INCLUDED_FROM_API_FILE prevents task.h from redefining
|
| 526 | * all the API functions to use the MPU wrappers. That should only be done when
|
| 527 | diff --git a/portable/MemMang/heap_5.c b/portable/MemMang/heap_5.c |
| 528 | index 62c3641f5..da6d4494a 100644 |
| 529 | --- a/portable/MemMang/heap_5.c |
| 530 | +++ b/portable/MemMang/heap_5.c |
| 531 | @@ -68,7 +68,7 @@ |
| 532 | * Note 0x80000000 is the lower address so appears in the array first.
|
| 533 | *
|
| 534 | */
|
| 535 | -#include <stdlib.h>
|
| 536 | +// #include <stdlib.h> |
| 537 |
|
| 538 | /* Defining MPU_WRAPPERS_INCLUDED_FROM_API_FILE prevents task.h from redefining
|
| 539 | * all the API functions to use the MPU wrappers. That should only be done when
|
| 540 | diff --git a/portable/RVDS/ARM7_LPC21xx/port.c b/portable/RVDS/ARM7_LPC21xx/port.c |
| 541 | index 803f94682..aff6c50ca 100644 |
| 542 | --- a/portable/RVDS/ARM7_LPC21xx/port.c |
| 543 | +++ b/portable/RVDS/ARM7_LPC21xx/port.c |
| 544 | @@ -28,7 +28,7 @@ |
| 545 |
|
| 546 |
|
| 547 | /* Standard includes. */
|
| 548 | -#include <stdlib.h>
|
| 549 | +// #include <stdlib.h> |
| 550 |
|
| 551 | /* Scheduler includes. */
|
| 552 | #include "FreeRTOS.h"
|
| 553 | diff --git a/portable/RVDS/ARM_CA9/port.c b/portable/RVDS/ARM_CA9/port.c |
| 554 | index 9f88b58a8..d04fd91d5 100644 |
| 555 | --- a/portable/RVDS/ARM_CA9/port.c |
| 556 | +++ b/portable/RVDS/ARM_CA9/port.c |
| 557 | @@ -27,7 +27,7 @@ |
| 558 | */
|
| 559 |
|
| 560 | /* Standard includes. */
|
| 561 | -#include <stdlib.h>
|
| 562 | +// #include <stdlib.h> |
| 563 |
|
| 564 | /* Scheduler includes. */
|
| 565 | #include "FreeRTOS.h"
|
| 566 | diff --git a/portable/Softune/MB91460/__STD_LIB_sbrk.c b/portable/Softune/MB91460/__STD_LIB_sbrk.c |
| 567 | index fe85cea01..ef35b1866 100644 |
| 568 | --- a/portable/Softune/MB91460/__STD_LIB_sbrk.c |
| 569 | +++ b/portable/Softune/MB91460/__STD_LIB_sbrk.c |
| 570 | @@ -37,7 +37,7 @@ |
| 571 | /*---------------------------------------------------------------------------*/
|
| 572 |
|
| 573 | #include "FreeRTOSConfig.h"
|
| 574 | -#include <stdlib.h>
|
| 575 | +// #include <stdlib.h> |
| 576 |
|
| 577 | static long brk_siz = 0;
|
| 578 | typedef int _heep_t;
|
| 579 | diff --git a/portable/Softune/MB96340/__STD_LIB_sbrk.c b/portable/Softune/MB96340/__STD_LIB_sbrk.c |
| 580 | index fe85cea01..ef35b1866 100644 |
| 581 | --- a/portable/Softune/MB96340/__STD_LIB_sbrk.c |
| 582 | +++ b/portable/Softune/MB96340/__STD_LIB_sbrk.c |
| 583 | @@ -37,7 +37,7 @@ |
| 584 | /*---------------------------------------------------------------------------*/
|
| 585 |
|
| 586 | #include "FreeRTOSConfig.h"
|
| 587 | -#include <stdlib.h>
|
| 588 | +// #include <stdlib.h> |
| 589 |
|
| 590 | static long brk_siz = 0;
|
| 591 | typedef int _heep_t;
|
| 592 | diff --git a/portable/ThirdParty/XCC/Xtensa/port.c b/portable/ThirdParty/XCC/Xtensa/port.c |
| 593 | index 5a6addecb..b805ed255 100644 |
| 594 | --- a/portable/ThirdParty/XCC/Xtensa/port.c |
| 595 | +++ b/portable/ThirdParty/XCC/Xtensa/port.c |
| 596 | @@ -27,7 +27,7 @@ |
| 597 | *
|
| 598 | */
|
| 599 |
|
| 600 | -#include <stdlib.h>
|
| 601 | +// #include <stdlib.h> |
| 602 | #include <xtensa/config/core.h>
|
| 603 |
|
| 604 | #include "xtensa_rtos.h"
|
| 605 | diff --git a/portable/ThirdParty/XCC/Xtensa/portclib.c b/portable/ThirdParty/XCC/Xtensa/portclib.c |
| 606 | index d64b0cad3..b0616657c 100644 |
| 607 | --- a/portable/ThirdParty/XCC/Xtensa/portclib.c |
| 608 | +++ b/portable/ThirdParty/XCC/Xtensa/portclib.c |
| 609 | @@ -136,7 +136,7 @@ _reclaim_reent(void * ptr) |
| 610 | #include <errno.h>
|
| 611 | #include <malloc.h>
|
| 612 | #include <stdio.h>
|
| 613 | -#include <stdlib.h>
|
| 614 | +// #include <stdlib.h> |
| 615 | #include <string.h>
|
| 616 |
|
| 617 | #include "semphr.h"
|
| 618 | diff --git a/portable/ThirdParty/XCC/Xtensa/xtensa_intr.c b/portable/ThirdParty/XCC/Xtensa/xtensa_intr.c |
| 619 | index f9ff4cbfa..ef1e3efff 100644 |
| 620 | --- a/portable/ThirdParty/XCC/Xtensa/xtensa_intr.c |
| 621 | +++ b/portable/ThirdParty/XCC/Xtensa/xtensa_intr.c |
| 622 | @@ -32,7 +32,7 @@ |
| 623 | * Also see xtensa_intr_asm.S.
|
| 624 | */
|
| 625 |
|
| 626 | -#include <stdlib.h>
|
| 627 | +// #include <stdlib.h> |
| 628 |
|
| 629 | #include <xtensa/config/core.h>
|
| 630 |
|
| 631 | diff --git a/portable/oWatcom/16BitDOS/Flsh186/port.c b/portable/oWatcom/16BitDOS/Flsh186/port.c |
| 632 | index 772db7fa1..e79d8672e 100644 |
| 633 | --- a/portable/oWatcom/16BitDOS/Flsh186/port.c |
| 634 | +++ b/portable/oWatcom/16BitDOS/Flsh186/port.c |
| 635 | @@ -49,7 +49,7 @@ Changes from V2.6.1 |
| 636 | * port.
|
| 637 | *----------------------------------------------------------*/
|
| 638 |
|
| 639 | -#include <stdlib.h>
|
| 640 | +// #include <stdlib.h> |
| 641 | #include <i86.h>
|
| 642 | #include <dos.h>
|
| 643 | #include <setjmp.h>
|
| 644 | diff --git a/portable/oWatcom/16BitDOS/PC/port.c b/portable/oWatcom/16BitDOS/PC/port.c |
| 645 | index 711bc703f..626e7b4f2 100644 |
| 646 | --- a/portable/oWatcom/16BitDOS/PC/port.c |
| 647 | +++ b/portable/oWatcom/16BitDOS/PC/port.c |
| 648 | @@ -49,7 +49,7 @@ Changes from V4.0.1 |
| 649 | its proper value when the scheduler exits.
|
| 650 | */
|
| 651 |
|
| 652 | -#include <stdlib.h>
|
| 653 | +// #include <stdlib.h> |
| 654 | #include <stdio.h>
|
| 655 | #include <i86.h>
|
| 656 | #include <dos.h>
|
| 657 | diff --git a/portable/oWatcom/16BitDOS/common/portcomn.c b/portable/oWatcom/16BitDOS/common/portcomn.c |
| 658 | index 38e6c0e0f..b548445ac 100644 |
| 659 | --- a/portable/oWatcom/16BitDOS/common/portcomn.c |
| 660 | +++ b/portable/oWatcom/16BitDOS/common/portcomn.c |
| 661 | @@ -45,7 +45,7 @@ Changes from V2.6.1: |
| 662 |
|
| 663 |
|
| 664 |
|
| 665 | -#include <stdlib.h>
|
| 666 | +// #include <stdlib.h> |
| 667 | #include "FreeRTOS.h"
|
| 668 |
|
| 669 | /*-----------------------------------------------------------*/
|
| 670 | diff --git a/queue.c b/queue.c |
| 671 | index 08d3799da..12f81d394 100644 |
| 672 | --- a/queue.c |
| 673 | +++ b/queue.c |
| 674 | @@ -26,7 +26,7 @@ |
| 675 | *
|
| 676 | */
|
| 677 |
|
| 678 | -#include <stdlib.h>
|
| 679 | +// #include <stdlib.h> |
| 680 | #include <string.h>
|
| 681 |
|
| 682 | /* Defining MPU_WRAPPERS_INCLUDED_FROM_API_FILE prevents task.h from redefining
|
| 683 | diff --git a/tasks.c b/tasks.c |
| 684 | index 91af83382..405425c60 100644 |
| 685 | --- a/tasks.c |
| 686 | +++ b/tasks.c |
| 687 | @@ -27,7 +27,7 @@ |
| 688 | */
|
| 689 |
|
| 690 | /* Standard includes. */
|
| 691 | -#include <stdlib.h>
|
| 692 | +// #include <stdlib.h> |
| 693 | #include <string.h>
|
| 694 |
|
| 695 | /* Defining MPU_WRAPPERS_INCLUDED_FROM_API_FILE prevents task.h from redefining
|
| 696 | diff --git a/timers.c b/timers.c |
| 697 | index 46e6d4851..57653dad3 100644 |
| 698 | --- a/timers.c |
| 699 | +++ b/timers.c |
| 700 | @@ -27,7 +27,7 @@ |
| 701 | */
|
| 702 |
|
| 703 | /* Standard includes. */
|
| 704 | -#include <stdlib.h>
|
| 705 | +// #include <stdlib.h> |
| 706 |
|
| 707 | /* Defining MPU_WRAPPERS_INCLUDED_FROM_API_FILE prevents task.h from redefining
|
| 708 | * all the API functions to use the MPU wrappers. That should only be done when
|
| 709 | -- |
| 710 | 2.35.1.1021.g381101b075-goog |
| 711 | |