[openssh-commits] [openssh] 01/02: define __unused to nothing if not already defined

git+noreply at mindrot.org git+noreply at mindrot.org
Wed Mar 4 05:03:40 AEDT 2015


This is an automated email from the git hooks/post-receive script.

djm pushed a commit to branch master
in repository openssh.

commit 1598419e38afbaa8aa5df8dd6b0af98301e2c908
Author: Damien Miller <djm at mindrot.org>
Date:   Wed Mar 4 04:59:13 2015 +1100

    define __unused to nothing if not already defined
    
    fixes builds on BSD/OS
---
 defines.h | 4 ++++
 1 file changed, 4 insertions(+)

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

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list