[arch-commits] Commit in gnokii/trunk (gnokii-gcc7.patch)

Christian Hesse eworm at archlinux.org
Thu May 25 23:50:01 UTC 2017


    Date: Thursday, May 25, 2017 @ 23:50:00
  Author: eworm
Revision: 230334

add missing file

Added:
  gnokii/trunk/gnokii-gcc7.patch

-------------------+
 gnokii-gcc7.patch |   13 +++++++++++++
 1 file changed, 13 insertions(+)

Added: gnokii-gcc7.patch
===================================================================
--- gnokii-gcc7.patch	                        (rev 0)
+++ gnokii-gcc7.patch	2017-05-25 23:50:00 UTC (rev 230334)
@@ -0,0 +1,13 @@
+diff --git a/common/gsm-filetypes.c b/common/gsm-filetypes.c
+index b4ceea1..264420a 100644
+--- a/common/gsm-filetypes.c
++++ b/common/gsm-filetypes.c
+@@ -1409,7 +1409,7 @@ static int get_next_token(char *src, int delim)
+ #define GET_NEXT_TOKEN()	o = get_next_token(line + offset, ';')
+ #define STORE_TOKEN(a)		strip_slashes(a, line + offset, sizeof(a) - 1, o - 1)
+ 
+-inline int local_atoi(char *str, int len)
++int local_atoi(char *str, int len)
+ {
+ 	int retval;
+ 	char *aux = strndup(str, len);



More information about the arch-commits mailing list