1From a60ab1e5e88863acf9b0e9bcaa7919bbf093da05 Mon Sep 17 00:00:00 2001 2From: Peter Seiderer <ps.report@gmx.net> 3Date: Thu, 11 Mar 2021 20:55:52 +0100 4Subject: [PATCH] glob: fix dequote_pathname vs. udequote_pathname 5MIME-Version: 1.0 6Content-Type: text/plain; charset=UTF-8 7Content-Transfer-Encoding: 8bit 8 9Fixes: 10 11 glob.c:123:28: error: static declaration of ‘udequote_pathname’ follows non-static declaration 12 123 | # define dequote_pathname udequote_pathname 13 | ^~~~~~~~~~~~~~~~~ 14 glob.c:125:13: note: in expansion of macro ‘dequote_pathname’ 15 125 | static void dequote_pathname PARAMS((char *)); 16 | ^~~~~~~~~~~~~~~~ 17 glob.c:118:6: note: previous declaration of ‘udequote_pathname’ was here 18 118 | void udequote_pathname PARAMS((char *)); 19 | ^~~~~~~~~~~~~~~~~ 20 21Signed-off-by: Peter Seiderer <ps.report@gmx.net> 22--- 23 lib/glob/glob.c | 3 +-- 24 1 file changed, 1 insertion(+), 2 deletions(-) 25 26diff --git a/lib/glob/glob.c b/lib/glob/glob.c 27index eb6277f..c903b15 100644 28--- a/lib/glob/glob.c 29+++ b/lib/glob/glob.c 30@@ -117,6 +117,5 @@ static int mbskipname PARAMS((char *, char *, int)); 31 #else 32 # define dequote_pathname udequote_pathname 33 #endif 34-static void dequote_pathname PARAMS((char *)); 35 static int glob_testdir PARAMS((char *, int)); 36 static char **glob_dir_to_array PARAMS((char *, char **, int)); 37 38-- 392.30.1 40 41