From 694f72d148882987cc8e4ffd0c4143d8099e09bf Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Thu, 20 Oct 2016 13:46:23 +0200 Subject: Revert "Constify ctrl_cmd struct fields where appropriate" This reverts commit ed9d6da5df98538adc70aa03cb569eb9505d04b6. The commit is good as such, but it causes many compiler warnings in the OpenBSC build. We want this to be re-applied as soon as we have patches ready that fix the fallout in openbsc.git. See also https://lists.osmocom.org/pipermail/openbsc/2016-October/009802.html Related: OS#1829 Change-Id: I722ad60232a6ef5b4cb984b92c42851de26b3ccd --- include/osmocom/ctrl/control_cmd.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/osmocom/ctrl/control_cmd.h b/include/osmocom/ctrl/control_cmd.h index cd96038e..8f2eaa25 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; - const char *id; + char *id; void *node; - const char *variable; - const char *value; + char *variable; + char *value; char *reply; }; -- cgit v1.2.3