Correct compiler warnings in trace recorder code.

This commit is contained in:
Richard Barry
2013-07-16 12:23:25 +00:00
parent 4578154959
commit d04c2fa753
3 changed files with 6 additions and 3 deletions

View File

@ -52,8 +52,10 @@
#error FreeRTOS.h must be included before FreeRTOS_Sockets.h.
#endif
#ifndef TASK_H
#error The FreeRTOS header file task.h must be included before FreeRTOS_Sockets.h.
#ifndef INC_TASK_H
#ifndef TASK_H /* For compatibility with older FreeRTOS versions. */
#error The FreeRTOS header file task.h must be included before FreeRTOS_Sockets.h.
#endif
#endif
/* Assigned to an xSocket_t variable when the socket is not valid, probably