diff --git a/include/nuttx/signal.h b/include/nuttx/signal.h index f8f80d305d..04e38ca4d2 100644 --- a/include/nuttx/signal.h +++ b/include/nuttx/signal.h @@ -54,6 +54,11 @@ struct sigwork_s sigev_notify_function_t func; /* Notification function */ }; +#ifdef __cplusplus +extern "C" +{ +#endif + /**************************************************************************** * Public Function Prototypes ****************************************************************************/ @@ -556,4 +561,8 @@ void nxsig_cancel_notification(FAR struct sigwork_s *work); #define nxsig_cancel_notification(work) (void)(work) #endif +#ifdef __cplusplus +} +#endif + #endif /* __INCLUDE_NUTTX_SIGNAL_H */