>From aeb1d99fde3dc87e76744604ca2792671e71c49c Mon Sep 17 00:00:00 2001 From: Christian Schoenebeck Date: Fri, 17 Sep 2021 18:25:50 +0200 Subject: [PATCH] Fix GCC 8 compile error in wordsplit Fixes: 8378991c --- lib/wordsplit.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/wordsplit.c b/lib/wordsplit.c index cf8a499..0e1cf1e 100644 --- a/lib/wordsplit.c +++ b/lib/wordsplit.c @@ -107,6 +107,9 @@ static int wordsplit_run (const char *command, size_t length, struct wordsplit *wsp, unsigned flags, int lvl); +static struct wordsplit_node * +wsnode_new (struct wordsplit *wsp) _GL_ATTRIBUTE_MALLOC; + static int wordsplit_init (struct wordsplit *wsp, const char *input, size_t len, unsigned flags); static int wordsplit_process_list (struct wordsplit *wsp, size_t start); -- 2.20.1