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/.
Pau Espin Pedrol gerrit-no-reply at lists.osmocom.orgReview at https://gerrit.osmocom.org/6074 gtp/gtp.c: Remove unused function char2ul_t Change-Id: I0d7493404ea05ce2e795958041bbb6cb75a04d31 --- M gtp/gtp.c 1 file changed, 0 insertions(+), 9 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ggsn refs/changes/74/6074/1 diff --git a/gtp/gtp.c b/gtp/gtp.c index c087740..2e24f7d 100644 --- a/gtp/gtp.c +++ b/gtp/gtp.c @@ -3296,15 +3296,6 @@ * Conversion functions *************************************************************/ -static 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: newchange Gerrit-Change-Id: I0d7493404ea05ce2e795958041bbb6cb75a04d31 Gerrit-PatchSet: 1 Gerrit-Project: osmo-ggsn Gerrit-Branch: master Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>