input_internal.h: add extern "C"
This commit is contained in:
		| @@ -24,11 +24,7 @@ | ||||
| #include "tag.h" | ||||
| #include "IcyMetaDataParser.hxx" | ||||
| #include "event/MultiSocketMonitor.hxx" | ||||
|  | ||||
| extern "C" { | ||||
| #include "input_internal.h" | ||||
| } | ||||
|  | ||||
| #include "event/Loop.hxx" | ||||
| #include "IOThread.hxx" | ||||
| #include "glib_compat.h" | ||||
|   | ||||
| @@ -20,11 +20,7 @@ | ||||
| #include "config.h" | ||||
| #include "SoupInputPlugin.hxx" | ||||
| #include "input_plugin.h" | ||||
|  | ||||
| extern "C" { | ||||
| #include "input_internal.h" | ||||
| } | ||||
|  | ||||
| #include "IOThread.hxx" | ||||
| #include "event/Loop.hxx" | ||||
| #include "conf.h" | ||||
|   | ||||
| @@ -27,6 +27,10 @@ | ||||
| struct input_stream; | ||||
| struct input_plugin; | ||||
|  | ||||
| #ifdef __cplusplus | ||||
| extern "C" { | ||||
| #endif | ||||
|  | ||||
| void | ||||
| input_stream_init(struct input_stream *is, const struct input_plugin *plugin, | ||||
| 		  const char *uri, GMutex *mutex, GCond *cond); | ||||
| @@ -40,4 +44,8 @@ input_stream_signal_client(struct input_stream *is); | ||||
| void | ||||
| input_stream_set_ready(struct input_stream *is); | ||||
|  | ||||
| #ifdef __cplusplus | ||||
| } | ||||
| #endif | ||||
|  | ||||
| #endif | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Max Kellermann
					Max Kellermann