diff src/libaudclient/audctrl.h @ 3930:7e126e402b1c

Use G_BEGIN_DECLS/G_END_DECLS instead of #ifdef __cplusplus. This makes it build on Sun Studio compilers again.
author William Pitcock <nenolod@atheme.org>
date Mon, 12 Nov 2007 21:45:59 -0600
parents b5ee3a4a8e3b
children 2eee464379dc
line wrap: on
line diff
--- 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 <glib.h>
 #include <dbus/dbus-glib.h>
 
-#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