anchao commented on code in PR #13519:
URL: https://github.com/apache/nuttx/pull/13519#discussion_r1808306044


##########
include/signal.h:
##########
@@ -356,14 +355,16 @@ typedef struct sigevent
 
           FAR struct pthread_attr_s *_attribute;
         } _sigev_thread;
-#endif
+
       pid_t _tid; /* ID of thread to signal */
     } _sigev_un;
-} sigevent_t;
 
-#define sigev_notify_function   _sigev_un._sigev_thread._function
-#define sigev_notify_attributes _sigev_un._sigev_thread._attribute
-#define sigev_notify_thread_id  _sigev_un._tid
+#  define sigev_notify_function   _sigev_un._sigev_thread._function
+#  define sigev_notify_attributes _sigev_un._sigev_thread._attribute
+#  define sigev_notify_thread_id  _sigev_un._tid

Review Comment:
   Done



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to