diff options
| author | hathach <[email protected]> | 2018-05-17 16:06:57 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-05-17 16:06:57 +0700 |
| commit | 6528460563ddf160d45562cd6807ec941dc57968 (patch) | |
| tree | b209de70b6e55bceab11dea89b4b647e64cc969e /lib/FreeRTOS/Source/include/stream_buffer.h | |
| parent | 7030d64a95138482c2537f3a1280c94ce36a3c10 (diff) | |
update freeRTOS to v10.0.1
Diffstat (limited to 'lib/FreeRTOS/Source/include/stream_buffer.h')
| -rw-r--r-- | lib/FreeRTOS/Source/include/stream_buffer.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/lib/FreeRTOS/Source/include/stream_buffer.h b/lib/FreeRTOS/Source/include/stream_buffer.h index 55c6e6ed3..5418e05ba 100644 --- a/lib/FreeRTOS/Source/include/stream_buffer.h +++ b/lib/FreeRTOS/Source/include/stream_buffer.h @@ -1,5 +1,5 @@ /* - * FreeRTOS Kernel V10.0.0 + * FreeRTOS Kernel V10.0.1 * Copyright (C) 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy of @@ -10,8 +10,7 @@ * subject to the following conditions: * * The above copyright notice and this permission notice shall be included in all - * copies or substantial portions of the Software. If you wish to use our Amazon - * FreeRTOS name, please do so in a fair use way that does not cause confusion. + * copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS @@ -52,6 +51,10 @@ #ifndef STREAM_BUFFER_H #define STREAM_BUFFER_H +#if defined( __cplusplus ) +extern "C" { +#endif + /** * Type by which stream buffers are referenced. For example, a call to * xStreamBufferCreate() returns an StreamBufferHandle_t variable that can @@ -843,7 +846,7 @@ StreamBufferHandle_t xStreamBufferGenericCreateStatic( size_t xBufferSizeBytes, #endif #if defined( __cplusplus ) -extern "C" { +} #endif #endif /* !defined( STREAM_BUFFER_H ) */ |
