p2p: Remove const from service and driver name
authorOlivier Guiter <olivier.guiter@linux.intel.com>
Tue, 27 Aug 2013 14:56:22 +0000 (16:56 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Wed, 28 Aug 2013 09:02:54 +0000 (11:02 +0200)
Removing const qualifier allows drivers to be added
dynamically (at execution time). This will be used for
PHDC managers.

plugins/p2p.h

index 243e7b5..a7c0c51 100644 (file)
@@ -30,8 +30,8 @@
 #define LLCP_DEFAULT_MIU 128
 
 struct near_p2p_driver {
-       const char *name;
-       const char *service_name;
+       char *name;
+       char *service_name;
        const char *fallback_service_name;
        bool single_connection;
        int sock_type;