Skip to content

Commit 694f72d

Browse files
committed
Revert "Constify ctrl_cmd struct fields where appropriate"
This reverts commit ed9d6da. 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
1 parent eb604cf commit 694f72d

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

TODO-RELEASE

-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,3 @@ libosmocore change major external talloc dependency / internal talloc removal
44
libosmocore change major size of ph_data_param struct changed / Extend L1SAP PH-DATA with presence information
55
libosmocore change major size of ph_data_param struct changed / Extend L1SAP PH-DATA with measurement information
66
libosmocore change major size of ph_tch_param struct changed / Extend with RTP Marker
7-
libosmocore change minor mark as const id, variable & value fields of ctrl_cmd struct

include/osmocom/ctrl/control_cmd.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@ struct ctrl_connection {
5353
struct ctrl_cmd {
5454
struct ctrl_connection *ccon;
5555
enum ctrl_type type;
56-
const char *id;
56+
char *id;
5757
void *node;
58-
const char *variable;
59-
const char *value;
58+
char *variable;
59+
char *value;
6060
char *reply;
6161
};
6262

0 commit comments

Comments
 (0)