Constify ctrl_cmd struct fields where appropriate

Change-Id: I3f55c1d4b965d215dc9b16f4b284b7fea4bde9e9
This commit is contained in:
Max 2016-10-11 15:20:28 +02:00
parent cbdfa65dbe
commit ed9d6da5df
2 changed files with 4 additions and 3 deletions

View File

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

View File

@ -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;
};