Shanks0224 commented on code in PR #22177:
URL: https://github.com/apache/nuttx/pull/22177#discussion_r4676125437


##########
libs/libc/string/lib_memcmp.c:
##########
@@ -60,3 +60,22 @@ int memcmp(FAR const void *s1, FAR const void *s2, size_t n)
   return 0;
 }
 #endif
+
+#if CONFIG_FORTIFY_SOURCE
+#undef bcmp
+int bcmp(FAR const void *s1, FAR const void *s2, size_t n)

Review Comment:
   Reproduced the multiple definition. Dropped the commit; lib_bcmp.c already 
covers FORTIFY_SOURCE.



##########
libs/libc/string/lib_flsll.c:
##########
@@ -20,6 +20,12 @@
  *
  ****************************************************************************/
 
+/****************************************************************************
+ * Included Files
+ ****************************************************************************/
+
+#include <nuttx/compiler.h>

Review Comment:
   Agreed, the code is identical with and without the include. Dropped the 
commit.



-- 
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