From fd059fe1f228cf45b3ddea205fa12e94a3dd252c Mon Sep 17 00:00:00 2001 From: Maximilian Bachmann Date: Tue, 13 Oct 2020 13:19:34 +0200 Subject: [PATCH] include/posix: fix extern "C" placement both parts of extern "C" should be placed inside Signed-off-by: Maximilian Bachmann --- include/posix/pthread_key.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/posix/pthread_key.h b/include/posix/pthread_key.h index a5096950234..a7906217f9f 100644 --- a/include/posix/pthread_key.h +++ b/include/posix/pthread_key.h @@ -43,10 +43,10 @@ typedef struct pthread_key_data { pthread_thread_data thread_data; } pthread_key_data; -#endif /* CONFIG_PTHREAD_IPC */ - #ifdef __cplusplus } #endif +#endif /* CONFIG_PTHREAD_IPC */ + #endif /* ZEPHYR_INCLUDE_POSIX_PTHREAD_KEY_H_*/