From: Seonah Moon Date: Mon, 10 Jan 2022 08:23:12 +0000 (+0900) Subject: Remove extern "C" wrapping other includes X-Git-Tag: accepted/tizen/7.0/unified/20221110.061838^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=HEAD;p=platform%2Fupstream%2Flibsoup.git 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 --- diff --git a/libsoup/soup.h b/libsoup/soup.h index 48b75f0..67bd2a3 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__ */