diff options
author | Patrick Griffis <pgriffis@igalia.com> | 2021-04-23 09:34:56 -0500 |
---|---|---|
committer | Patrick Griffis <pgriffis@igalia.com> | 2021-04-23 09:34:56 -0500 |
commit | cf294e4b18000e6af821bb927ed3cf2715c7a413 (patch) | |
tree | cec5f5f1dc3489cd5998aec97c1709e5c7c23aa3 | |
parent | 6ffba02498dfcfed47d865fd6827200727bb20fb (diff) | |
download | libsoup-wip/remove-header-extern-c.tar.gz |
Remove extern "C" wrapping other includeswip/remove-header-extern-c
This isn't the proper way to use extern C as the included
headers may actually have C++ aware code in them.
-rw-r--r-- | libsoup/include/soup-installed.h | 8 | ||||
-rw-r--r-- | libsoup/soup.h | 8 |
2 files changed, 0 insertions, 16 deletions
diff --git a/libsoup/include/soup-installed.h b/libsoup/include/soup-installed.h index 99954228..fcf1f682 100644 --- a/libsoup/include/soup-installed.h +++ b/libsoup/include/soup-installed.h @@ -6,10 +6,6 @@ #ifndef __SOUP_H__ #define __SOUP_H__ 1 -#ifdef __cplusplus -extern "C" { -#endif - #define __SOUP_H_INSIDE__ #include <libsoup/soup-auth.h> @@ -53,8 +49,4 @@ extern "C" { #undef __SOUP_H_INSIDE__ -#ifdef __cplusplus -} -#endif - #endif /* __SOUP_H__ */ diff --git a/libsoup/soup.h b/libsoup/soup.h index 42d758a7..22a8f661 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 "auth/soup-auth.h" @@ -53,8 +49,4 @@ extern "C" { #undef __SOUP_H_INSIDE__ -#ifdef __cplusplus -} -#endif - #endif /* __SOUP_H__ */ |