# HG changeset patch # User William Pitcock # Date 1194925559 21600 # Node ID 7e126e402b1c0fcfe8ffe3c3f608a30498692277 # Parent fd6b3f983ff6c12c7a6cc5a3c624dca977cc965c Use G_BEGIN_DECLS/G_END_DECLS instead of #ifdef __cplusplus. This makes it build on Sun Studio compilers again. diff -r fd6b3f983ff6 -r 7e126e402b1c src/libaudclient/audctrl.h --- a/src/libaudclient/audctrl.h Mon Nov 12 21:45:30 2007 -0600 +++ b/src/libaudclient/audctrl.h Mon Nov 12 21:45:59 2007 -0600 @@ -23,9 +23,7 @@ #include #include -#ifdef __cplusplus -extern "C" { -#endif +G_BEGIN_DECLS void audacious_remote_playlist(DBusGProxy *proxy, gchar **list, gint num, gboolean enqueue); @@ -127,8 +125,6 @@ void audacious_remote_toggle_filebrowser(DBusGProxy *proxy, gboolean show); void audacious_remote_eq_activate(DBusGProxy *proxy, gboolean active); -#ifdef __cplusplus -}; -#endif +G_END_DECLS #endif