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/.
Harald Welte gerrit-no-reply at lists.osmocom.orgHarald Welte has submitted this change and it was merged.
Change subject: gtp/gtp.c: Remove unused function char2ul_t
......................................................................
gtp/gtp.c: Remove unused function char2ul_t
Change-Id: I0d7493404ea05ce2e795958041bbb6cb75a04d31
---
M gtp/gtp.c
1 file changed, 0 insertions(+), 9 deletions(-)
Approvals:
Max: Looks good to me, but someone else must approve
Harald Welte: Looks good to me, approved
Jenkins Builder: Verified
diff --git a/gtp/gtp.c b/gtp/gtp.c
index 9dabcd2..5b430b7 100644
--- a/gtp/gtp.c
+++ b/gtp/gtp.c
@@ -3296,15 +3296,6 @@
* Conversion functions
*************************************************************/
-int char2ul_t(char *src, struct ul_t dst)
-{
- dst.l = strlen(src) + 1;
- dst.v = malloc(dst.l);
- dst.v[0] = dst.l - 1;
- memcpy(&dst.v[1], src, dst.v[0]);
- return 0;
-}
-
/* ***********************************************************
* IP address conversion functions
* There exist several types of address representations:
--
To view, visit https://gerrit.osmocom.org/6074
To unsubscribe, visit https://gerrit.osmocom.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I0d7493404ea05ce2e795958041bbb6cb75a04d31
Gerrit-PatchSet: 3
Gerrit-Project: osmo-ggsn
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Max <msuraev at sysmocom.de>