From cbf5cdfe7eb10e6efee16cbd6b5e7b910f8c47a7 Mon Sep 17 00:00:00 2001 From: Max Date: Tue, 24 Oct 2017 18:18:55 +0200 Subject: GPRS: constify NS printing routine parameters Change-Id: I549ab7c26ac1489e01f281594bafe44b0681dc83 --- include/osmocom/gprs/gprs_ns.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/osmocom/gprs/gprs_ns.h b/include/osmocom/gprs/gprs_ns.h index 4fb9f584..b368ad99 100644 --- a/include/osmocom/gprs/gprs_ns.h +++ b/include/osmocom/gprs/gprs_ns.h @@ -194,7 +194,7 @@ int gprs_nsvc_reset(struct gprs_nsvc *nsvc, uint8_t cause); int gprs_ns_vty_init(struct gprs_ns_inst *nsi); /* Resturn peer info as string (NOTE: the buffer is allocated statically) */ -const char *gprs_ns_ll_str(struct gprs_nsvc *nsvc); +const char *gprs_ns_ll_str(const struct gprs_nsvc *nsvc); /* Copy the link layer info from other into nsvc */ void gprs_ns_ll_copy(struct gprs_nsvc *nsvc, struct gprs_nsvc *other); -- cgit v1.2.3