summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Griffis <pgriffis@igalia.com>2021-04-23 09:34:56 -0500
committerPatrick Griffis <pgriffis@igalia.com>2021-04-27 09:32:32 -0500
commitb5e4f15a09d197b6a9b4b2d78b33779f27d828af (patch)
tree8798595a41fdcbe7592687f6a8939cb09124f7bc
parent2ec8910edec00ffe4bcc023fb58704b1d49498fe (diff)
downloadlibsoup-b5e4f15a09d197b6a9b4b2d78b33779f27d828af.tar.gz
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.
-rw-r--r--libsoup/soup.h8
1 files changed, 0 insertions, 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__ */