Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/crypto/dist/ipsec-tools/src/racoon ipsec-tools: in lint mode...
details: https://anonhg.NetBSD.org/src/rev/0476aa0b18fc
branches: trunk
changeset: 365730:0476aa0b18fc
user: rillig <rillig%NetBSD.org@localhost>
date: Thu Apr 21 19:14:46 2022 +0000
description:
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]
diffstat:
crypto/dist/ipsec-tools/src/racoon/gnuc.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r a1487b75a27d -r 0476aa0b18fc crypto/dist/ipsec-tools/src/racoon/gnuc.h
--- a/crypto/dist/ipsec-tools/src/racoon/gnuc.h Thu Apr 21 17:30:15 2022 +0000
+++ b/crypto/dist/ipsec-tools/src/racoon/gnuc.h Thu Apr 21 19:14:46 2022 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index