summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeonah Moon <seonah1.moon@samsung.com>2022-01-10 17:23:12 +0900
committerSeonah Moon <seonah1.moon@samsung.com>2022-01-10 17:23:16 +0900
commitce9264385f0df134b5cfdf5e7106a9a8e6c5e4f8 (patch)
tree1c94ffe3f4702dd4a33fed9b101858c21b67ccd2
parent97b4fe7c307b4fcd02edb00aec880d2fb7910d9a (diff)
downloadlibsoup-tizen_8.0.tar.gz
libsoup-tizen_8.0.tar.bz2
libsoup-tizen_8.0.zip
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
-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__ */