summaryrefslogtreecommitdiffstats
path: root/include/osmocom
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2016-10-11 15:20:28 +0200
committerMax <msuraev@sysmocom.de>2016-10-11 18:27:22 +0200
commited9d6da5df98538adc70aa03cb569eb9505d04b6 (patch)
treef2f31fb65cf2b07862d37d29b7eb94123ffc38e3 /include/osmocom
parentcbdfa65dbed69fc19ba195d2aa8ead76f1434c5c (diff)
Constify ctrl_cmd struct fields where appropriate
Change-Id: I3f55c1d4b965d215dc9b16f4b284b7fea4bde9e9
Diffstat (limited to 'include/osmocom')
-rw-r--r--include/osmocom/ctrl/control_cmd.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/osmocom/ctrl/control_cmd.h b/include/osmocom/ctrl/control_cmd.h
index 8f2eaa25..cd96038e 100644
--- a/include/osmocom/ctrl/control_cmd.h
+++ b/include/osmocom/ctrl/control_cmd.h
@@ -53,10 +53,10 @@ struct ctrl_connection {
struct ctrl_cmd {
struct ctrl_connection *ccon;
enum ctrl_type type;
- char *id;
+ const char *id;
void *node;
- char *variable;
- char *value;
+ const char *variable;
+ const char *value;
char *reply;
};