diff uptools/libcoding/gsm7_decode.c @ 804:30fbaa652ea5

pcm-sms-decode & sms-pdu-decode: rm remains of bad chars count
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 25 Mar 2021 03:26:23 +0000
parents 5637794913a8
children
line wrap: on
line diff
--- a/uptools/libcoding/gsm7_decode.c	Thu Mar 25 03:06:53 2021 +0000
+++ b/uptools/libcoding/gsm7_decode.c	Thu Mar 25 03:26:23 2021 +0000
@@ -9,9 +9,9 @@
 extern u_short gsm7_decode_table[128];
 extern u_short gsm7ext_decode_table[128];
 
-gsm7_to_ascii_or_ext(inbuf, inlen, outbuf, outlenp, ascii_ext, newline_ok, errp)
+gsm7_to_ascii_or_ext(inbuf, inlen, outbuf, outlenp, ascii_ext, newline_ok)
 	u_char *inbuf, *outbuf;
-	unsigned inlen, *outlenp, *errp;
+	unsigned inlen, *outlenp;
 {
 	u_char *inp, *endp, *outp;
 	unsigned gsm, uni;
@@ -74,6 +74,4 @@
 	*outp = '\0';
 	if (outlenp)
 		*outlenp = outp - outbuf;
-	if (errp)
-		*errp = 0;
 }