mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-19 21:11:57 -04:00
Move header includes before extern c (#1047)
This commit is contained in:
parent
30afc1a2c0
commit
2eb2d653bf
|
@ -49,12 +49,6 @@
|
||||||
*/
|
*/
|
||||||
#include <stdint.h> /* READ COMMENT ABOVE. */
|
#include <stdint.h> /* READ COMMENT ABOVE. */
|
||||||
|
|
||||||
/* *INDENT-OFF* */
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
/* *INDENT-ON* */
|
|
||||||
|
|
||||||
/* Acceptable values for configTICK_TYPE_WIDTH_IN_BITS. */
|
/* Acceptable values for configTICK_TYPE_WIDTH_IN_BITS. */
|
||||||
#define TICK_TYPE_WIDTH_16_BITS 0
|
#define TICK_TYPE_WIDTH_16_BITS 0
|
||||||
#define TICK_TYPE_WIDTH_32_BITS 1
|
#define TICK_TYPE_WIDTH_32_BITS 1
|
||||||
|
@ -129,6 +123,12 @@
|
||||||
|
|
||||||
#endif /* if ( configUSE_PICOLIBC_TLS == 1 ) */
|
#endif /* if ( configUSE_PICOLIBC_TLS == 1 ) */
|
||||||
|
|
||||||
|
/* *INDENT-OFF* */
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
/* *INDENT-ON* */
|
||||||
|
|
||||||
#ifndef configUSE_C_RUNTIME_TLS_SUPPORT
|
#ifndef configUSE_C_RUNTIME_TLS_SUPPORT
|
||||||
#define configUSE_C_RUNTIME_TLS_SUPPORT 0
|
#define configUSE_C_RUNTIME_TLS_SUPPORT 0
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -94,14 +94,14 @@
|
||||||
#define configSTACK_ALLOCATION_FROM_SEPARATE_HEAP 0
|
#define configSTACK_ALLOCATION_FROM_SEPARATE_HEAP 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include "mpu_wrappers.h"
|
||||||
|
|
||||||
/* *INDENT-OFF* */
|
/* *INDENT-OFF* */
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
/* *INDENT-ON* */
|
/* *INDENT-ON* */
|
||||||
|
|
||||||
#include "mpu_wrappers.h"
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Setup the stack of a new task so it is ready to be placed under the
|
* Setup the stack of a new task so it is ready to be placed under the
|
||||||
* scheduler control. The registers have to be placed on the stack in
|
* scheduler control. The registers have to be placed on the stack in
|
||||||
|
|
|
@ -34,14 +34,14 @@
|
||||||
#error "include FreeRTOS.h" must appear in source files before "include queue.h"
|
#error "include FreeRTOS.h" must appear in source files before "include queue.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include "task.h"
|
||||||
|
|
||||||
/* *INDENT-OFF* */
|
/* *INDENT-OFF* */
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
/* *INDENT-ON* */
|
/* *INDENT-ON* */
|
||||||
|
|
||||||
#include "task.h"
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Type by which queues are referenced. For example, a call to xQueueCreate()
|
* Type by which queues are referenced. For example, a call to xQueueCreate()
|
||||||
* returns an QueueHandle_t variable that can then be used as a parameter to
|
* returns an QueueHandle_t variable that can then be used as a parameter to
|
||||||
|
|
Loading…
Reference in a new issue