[PATCH] libosmocore[master]: Constify ctrl_cmd struct fields where appropriate

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Max gerrit-no-reply at lists.osmocom.org
Tue Oct 11 13:23:55 UTC 2016


Review at  https://gerrit.osmocom.org/1040

Constify ctrl_cmd struct fields where appropriate

Change-Id: I3f55c1d4b965d215dc9b16f4b284b7fea4bde9e9
---
M include/osmocom/ctrl/control_cmd.h
1 file changed, 3 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/40/1040/1

diff --git a/include/osmocom/ctrl/control_cmd.h b/include/osmocom/ctrl/control_cmd.h
index 8f2eaa2..cd96038 100644
--- a/include/osmocom/ctrl/control_cmd.h
+++ b/include/osmocom/ctrl/control_cmd.h
@@ -53,10 +53,10 @@
 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;
 };
 

-- 
To view, visit https://gerrit.osmocom.org/1040
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3f55c1d4b965d215dc9b16f4b284b7fea4bde9e9
Gerrit-PatchSet: 1
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Max <msuraev at sysmocom.de>



More information about the gerrit-log mailing list