mcst-linux-kernel/patches-2024.06.26/gnokii-0.6.31/0001-gcc7-compat.patch

12 lines
439 B
Diff

--- orig/common/gsm-filetypes.c 2020-03-05 15:43:43.201513022 +0300
+++ new/common/gsm-filetypes.c 2020-03-05 15:44:23.197508587 +0300
@@ -1409,7 +1409,7 @@
#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)
+static int local_atoi(char *str, int len)
{
int retval;
char *aux = strndup(str, len);