Re: openssh-SNAP-20150304 issues

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 




On Tue, 3 Mar 2015, The Doctor wrote:

> regress/unittests/test_helper/test_helper.c: In function `test_data_file':
> regress/unittests/test_helper/test_helper.c:177: warning: implicit declaration of function `strlcpy'
> regress/unittests/test_helper/test_helper.c: At top level:
> regress/unittests/test_helper/test_helper.c:196: parse error before "__unused"
> *** Error code 1

Could you try this?

diff --git a/defines.h b/defines.h
index fa0ccba..cf65901 100644
--- a/defines.h
+++ b/defines.h
@@ -850,4 +850,8 @@ struct winsize {
 # endif /* gcc version */
 #endif /* __predict_true */
 
+#ifndef __unused
+# define __unused
+#endif
+
 #endif /* _DEFINES_H */
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev




[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux