projects
/
platform
/
upstream
/
neard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42a05bf
)
p2p: Remove const from service and driver name
author
Olivier Guiter
<olivier.guiter@linux.intel.com>
Tue, 27 Aug 2013 14:56:22 +0000
(16:56 +0200)
committer
Samuel 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
patch
|
blob
|
history
diff --git
a/plugins/p2p.h
b/plugins/p2p.h
index
243e7b5
..
a7c0c51
100644
(file)
--- a/
plugins/p2p.h
+++ b/
plugins/p2p.h
@@
-30,8
+30,8
@@
#define LLCP_DEFAULT_MIU 128
struct near_p2p_driver {
- c
onst c
har *name;
- c
onst c
har *service_name;
+ char *name;
+ char *service_name;
const char *fallback_service_name;
bool single_connection;
int sock_type;