From ce9264385f0df134b5cfdf5e7106a9a8e6c5e4f8 Mon Sep 17 00:00:00 2001 From: Seonah Moon Date: Mon, 10 Jan 2022 17:23:12 +0900 Subject: 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. Fixes #222 https://github.com/GNOME/libsoup/commit/3f88e62a37c02f6be38e390936c33fc015d8acfd Change-Id: Ib6a8767f6896ad5e949a2e2541a6b9c99b204d29 --- 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 @@ -68,8 +64,4 @@ extern "C" { #undef __SOUP_H_INSIDE__ -#ifdef __cplusplus -} -#endif - #endif /* __SOUP_H__ */ -- cgit v1.2.3