Skip to content

Commit 680a125

Browse files
Fix coreHTTP demo compile warning (FreeRTOS#1219)
Co-authored-by: Rahul Kar <118818625+kar-rahul-aws@users.noreply.github.com>
1 parent 6cda0cf commit 680a125

File tree

4 files changed

+16
-0
lines changed

4 files changed

+16
-0
lines changed

FreeRTOS-Plus/Demo/coreHTTP_Windows_Simulator/HTTP_Mutual_Auth/DemoTasks/MutualAuthHTTPExample.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,10 @@ static BaseType_t prvSendHttpRequest( const TransportInterface_t * pxTransportIn
200200

201201
/*-----------------------------------------------------------*/
202202

203+
extern BaseType_t xPlatformIsNetworkUp( void );
204+
205+
/*-----------------------------------------------------------*/
206+
203207
/*
204208
* @brief Create the task that demonstrates the HTTP API Demo over a
205209
* mutually-authenticated network connection with an HTTP server.

FreeRTOS-Plus/Demo/coreHTTP_Windows_Simulator/HTTP_Plaintext/DemoTasks/PlainTextHTTPExample.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,10 @@ static BaseType_t prvSendHttpRequest( const TransportInterface_t * pxTransportIn
260260

261261
/*-----------------------------------------------------------*/
262262

263+
extern BaseType_t xPlatformIsNetworkUp( void );
264+
265+
/*-----------------------------------------------------------*/
266+
263267
/*
264268
* @brief Create the task that demonstrates the HTTP API Demo over a
265269
* mutually-authenticated network connection with an HTTP server.

FreeRTOS-Plus/Demo/coreHTTP_Windows_Simulator/HTTP_S3_Download_Multithreaded/DemoTasks/S3DownloadMultithreadedHTTPExample.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -429,6 +429,10 @@ static BaseType_t prvDownloadLoop( void );
429429

430430
/*-----------------------------------------------------------*/
431431

432+
extern BaseType_t xPlatformIsNetworkUp( void );
433+
434+
/*-----------------------------------------------------------*/
435+
432436
/*
433437
* @brief Create task to demonstrate the HTTP API over a server-authenticated
434438
* network connection with a server.

FreeRTOS-Plus/Demo/coreHTTP_Windows_Simulator/HTTP_S3_Upload/DemoTasks/S3UploadHTTPExample.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,10 @@ static BaseType_t prvVerifyS3ObjectFileSize( const TransportInterface_t * pxTran
295295

296296
/*-----------------------------------------------------------*/
297297

298+
extern BaseType_t xPlatformIsNetworkUp( void );
299+
300+
/*-----------------------------------------------------------*/
301+
298302
/*
299303
* @brief Create the task that demonstrates the HTTP API Demo over a
300304
* server-authenticated network connection with an HTTP server.

0 commit comments

Comments
 (0)