Module Name: src
Committed By: rillig
Date: Thu Apr 21 19:14:46 UTC 2022
Modified Files:
src/crypto/dist/ipsec-tools/src/racoon: gnuc.h
Log Message:
ipsec-tools: in lint mode, keep keyword 'inline'
This avoids hundreds of lint warnings for OpenSSL's stack definitions:
openssl/x509.h(75): warning:
static function sk_X509_NAME_ENTRY_num unused [236]
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/crypto/dist/ipsec-tools/src/racoon/gnuc.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/crypto/dist/ipsec-tools/src/racoon/gnuc.h
diff -u src/crypto/dist/ipsec-tools/src/racoon/gnuc.h:1.4 src/crypto/dist/ipsec-tools/src/racoon/gnuc.h:1.5
--- src/crypto/dist/ipsec-tools/src/racoon/gnuc.h:1.4 Sat Sep 9 16:22:09 2006
+++ src/crypto/dist/ipsec-tools/src/racoon/gnuc.h Thu Apr 21 19:14:46 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: gnuc.h,v 1.4 2006/09/09 16:22:09 manu Exp $ */
+/* $NetBSD: gnuc.h,v 1.5 2022/04/21 19:14:46 rillig Exp $ */
/* Id: gnuc.h,v 1.4 2004/11/18 15:14:44 ludvigm Exp */
@@ -13,7 +13,7 @@
#endif
/* inline foo */
-#ifdef __GNUC__
+#if defined(__GNUC__) || defined(lint)
#define inline __inline
#else
#define inline