summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHirotaka Tagawa <mariobaske@i.softbank.jp>2022-11-05 17:03:16 +0900
committerDaniel Stenberg <daniel@haxx.se>2022-11-09 00:36:33 +0100
commit39538fcc4eec91a681b6dd3ac2f25c6baf433b3a (patch)
tree60fdc29f57dffcaa0a206d4aea488f17ceccaaf5 /include
parent633493947fb59d397f326f7db31d09d26ef98f45 (diff)
downloadcurl-39538fcc4eec91a681b6dd3ac2f25c6baf433b3a.tar.gz
headers: add endif comments
Closes #9853
Diffstat (limited to 'include')
-rw-r--r--include/curl/curl.h4
-rw-r--r--include/curl/easy.h2
-rw-r--r--include/curl/mprintf.h2
3 files changed, 4 insertions, 4 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h
index e435bf0b0..8582d1c17 100644
--- a/include/curl/curl.h
+++ b/include/curl/curl.h
@@ -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 */
diff --git a/include/curl/easy.h b/include/curl/easy.h
index 9c7e63ada..98ee8888e 100644
--- a/include/curl/easy.h
+++ b/include/curl/easy.h
@@ -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
diff --git a/include/curl/mprintf.h b/include/curl/mprintf.h
index cb948dcd9..06ef5c6d8 100644
--- a/include/curl/mprintf.h
+++ b/include/curl/mprintf.h
@@ -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 */