dbus-method-dispatcher.h extern C patch



Hello,

Attached is a patch against the NETWORKMANAGER_0_6_0_RELEASE branch to
add extern "C" to the dbus-method-dispatcher.h file.

Hope everything is in the proper format.  First (albeit simple) patch
submittal.

Thanks,
Phil Culver
Index: dbus-method-dispatcher.h
===================================================================
--- dbus-method-dispatcher.h	(revision 3580)
+++ dbus-method-dispatcher.h	(working copy)
@@ -24,6 +24,9 @@
 
 #include <dbus/dbus.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
 
 /* Type of method callback functions */
 typedef DBusMessage* (*DBusMethodCallback) (DBusConnection *, DBusMessage *, void *);
@@ -47,5 +50,8 @@
                                                           DBusMessage **reply,
                                                           void * user_data);
 
+#ifdef __cplusplus
+}
+#endif
 
 #endif	/* DBUS_METHOD_DISPATCHER_H */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]