]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
headers: add endif comments
authorHirotaka Tagawa <mariobaske@i.softbank.jp>
Sat, 5 Nov 2022 08:03:16 +0000 (17:03 +0900)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 8 Nov 2022 23:36:33 +0000 (00:36 +0100)
Closes #9853

include/curl/curl.h
include/curl/easy.h
include/curl/mprintf.h
projects/wolfssl_options.h

index e435bf0b0c0d6feaea370023e829c95150f5ed01..8582d1c17aa119e4c1ca7df7d03fe4cb2a90f40b 100644 (file)
@@ -3105,7 +3105,7 @@ CURL_EXTERN CURLcode curl_easy_pause(CURL *handle, int bitmask);
 #define CURLPAUSE_CONT      (CURLPAUSE_RECV_CONT|CURLPAUSE_SEND_CONT)
 
 #ifdef  __cplusplus
-}
+} /* end of extern "C" */
 #endif
 
 /* unfortunately, the easy.h and multi.h include files need options and info
@@ -3132,6 +3132,6 @@ CURL_EXTERN CURLcode curl_easy_pause(CURL *handle, int bitmask);
 #define curl_share_setopt(share,opt,param) curl_share_setopt(share,opt,param)
 #define curl_multi_setopt(handle,opt,param) curl_multi_setopt(handle,opt,param)
 #endif /* __STDC__ >= 1 */
-#endif /* gcc >= 4.3 && !__cplusplus */
+#endif /* gcc >= 4.3 && !__cplusplus && !CURL_DISABLE_TYPECHECK */
 
 #endif /* CURLINC_CURL_H */
index 9c7e63adad6ebc0c72b5afd24989eaa664205310..98ee8888ede0df68530fbe815d9300405133c1a1 100644 (file)
@@ -119,7 +119,7 @@ CURL_EXTERN CURLcode curl_easy_send(CURL *curl, const void *buffer,
 CURL_EXTERN CURLcode curl_easy_upkeep(CURL *curl);
 
 #ifdef  __cplusplus
-}
+} /* end of extern "C" */
 #endif
 
 #endif
index cb948dcd97b4d3a106ae04e516f21defcc81280e..06ef5c6d8c2abf0beea9507f12cccefba2f3778e 100644 (file)
@@ -46,7 +46,7 @@ CURL_EXTERN char *curl_maprintf(const char *format, ...);
 CURL_EXTERN char *curl_mvaprintf(const char *format, va_list args);
 
 #ifdef  __cplusplus
-}
+} /* end of extern "C" */
 #endif
 
 #endif /* CURLINC_MPRINTF_H */
index c30d0977712a1722b20109ae88d79dc7ef88fe35..b2154cea3cff8fd0838e384dd0ca0aae684d59a4 100644 (file)
@@ -301,7 +301,7 @@ extern "C" {
 
 
 #ifdef __cplusplus
-}
+} /* end of extern "C" */
 #endif