diff options
author | Olivier Guiter <olivier.guiter@linux.intel.com> | 2013-08-27 16:56:22 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2013-08-28 11:02:54 +0200 |
commit | 41c21af237502aae94139f5ff7baac3c96764368 (patch) | |
tree | 4b693bcb0e615e07c8b1fbc2f2842f497a666cee | |
parent | 42a05bff3b7ae4e0550227bf6527bab43273a8db (diff) | |
download | neard-41c21af237502aae94139f5ff7baac3c96764368.tar.gz neard-41c21af237502aae94139f5ff7baac3c96764368.tar.bz2 neard-41c21af237502aae94139f5ff7baac3c96764368.zip |
p2p: Remove const from service and driver name
Removing const qualifier allows drivers to be added
dynamically (at execution time). This will be used for
PHDC managers.
-rw-r--r-- | plugins/p2p.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/p2p.h b/plugins/p2p.h index 243e7b5..a7c0c51 100644 --- a/plugins/p2p.h +++ b/plugins/p2p.h @@ -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; |