[libsoup/gnome-3-38] Remove extern "C" wrapping other includes



commit b5e4f15a09d197b6a9b4b2d78b33779f27d828af
Author: Patrick Griffis <pgriffis igalia com>
Date:   Fri Apr 23 09:34:56 2021 -0500

    Remove extern "C" wrapping other includes
    
    This isn't the proper way to use extern C as the included
    headers may actually have C++ aware code in them.

 libsoup/soup.h | 8 --------
 1 file changed, 8 deletions(-)
---
diff --git a/libsoup/soup.h b/libsoup/soup.h
index 48b75f0c..67bd2a36 100644
--- a/libsoup/soup.h
+++ b/libsoup/soup.h
@@ -6,10 +6,6 @@
 #ifndef __SOUP_H__
 #define __SOUP_H__ 1
 
-#ifdef __cplusplus
-extern "C" {
-#endif
-
 #define __SOUP_H_INSIDE__
 
 #include <libsoup/soup-address.h>
@@ -68,8 +64,4 @@ extern "C" {
 
 #undef __SOUP_H_INSIDE__
 
-#ifdef __cplusplus
-}
-#endif
-
 #endif /* __SOUP_H__ */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]