From 47491eeaa5780e0b800eac1e842acd1cb8597e75 Mon Sep 17 00:00:00 2001 From: Richard Cohen Date: Tue, 24 Jan 2023 13:35:46 +0000 Subject: [PATCH] Update old-style function definition for my_strtok() --- gnucash/import-export/log-replay/gnc-log-replay.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gnucash/import-export/log-replay/gnc-log-replay.c b/gnucash/import-export/log-replay/gnc-log-replay.c index 0d44e144c6..f40e287d3c 100644 --- a/gnucash/import-export/log-replay/gnc-log-replay.c +++ b/gnucash/import-export/log-replay/gnc-log-replay.c @@ -109,9 +109,7 @@ static char *olds; returning a 0 length valid string between two consecutive ocurence of delim. It will also return a 0 length string instead of NULL when it reaches the end of s */ -static char * my_strtok (s, delim) -char *s; -const char *delim; +static char * my_strtok (char *s, const char *delim) { char *token; /*DEBUG("strtok(): Start...");*/