xiaoxiang781216 commented on code in PR #16167:
URL: https://github.com/apache/nuttx/pull/16167#discussion_r2035571724


##########
include/nuttx/compiler.h:
##########
@@ -563,6 +563,10 @@
 #    define tz_nonsecure_call  __attribute__((cmse_nonsecure_call))
 #  endif
 
+/* Warning about usage of deprecated features. */
+
+#  define __deprecated  __attribute__((deprecated))

Review Comment:
   All macros in this file use the lower case and don't start with __ or 
NUTTX_, so it's better to define deprecated_function



-- 
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: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to