summaryrefslogtreecommitdiffstats
path: root/arch/tde-deps/gnokii/gnokii-gcc7.patch
diff options
context:
space:
mode:
Diffstat (limited to 'arch/tde-deps/gnokii/gnokii-gcc7.patch')
-rw-r--r--arch/tde-deps/gnokii/gnokii-gcc7.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/tde-deps/gnokii/gnokii-gcc7.patch b/arch/tde-deps/gnokii/gnokii-gcc7.patch
new file mode 100644
index 000000000..24fc9c9b1
--- /dev/null
+++ b/arch/tde-deps/gnokii/gnokii-gcc7.patch
@@ -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);