From: Patrick Steuer <patrick.steuer@de.ibm.com>
Date: Sun, 7 Apr 2019 11:30:26 +0000 (+0200)
Subject: fix --strict-warnings build
X-Git-Tag: openssl-3.0.0-alpha1~2214
X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=aa447d6fdbc250cf0f8f361daf3b734f288bbad1;p=oweals%2Fopenssl.git

fix --strict-warnings build

C++ style comments are not allowed in ISO C90

Signed-off-by: Patrick Steuer <patrick.steuer@de.ibm.com>

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/8693)
---

diff --git a/include/internal/refcount.h b/include/internal/refcount.h
index f74f79415d..eddf12415f 100644
--- a/include/internal/refcount.h
+++ b/include/internal/refcount.h
@@ -106,7 +106,7 @@ static __inline int CRYPTO_DOWN_REF(volatile int *val, int *ret, void *lock)
 #     if _WIN32_WCE >= 0x600
        extern long __cdecl _InterlockedExchangeAdd(long volatile*, long);
 #     else
-       // under Windows CE we still have old-style Interlocked* functions
+       /* under Windows CE we still have old-style Interlocked* functions */
        extern long __cdecl InterlockedExchangeAdd(long volatile*, long);
 #      define _InterlockedExchangeAdd InterlockedExchangeAdd
 #     endif