From f6485c2e162f1845fd896b6cb8391d52b58d528b Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Fri, 10 Nov 2017 16:32:50 +0100 Subject: rename shquote to sh_quote, clashes with NetBSD libc --- xe.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xe.c b/xe.c index 3e0bc35..d1e61b2 100644 --- a/xe.c +++ b/xe.c @@ -130,7 +130,7 @@ my_child: } static void -shquote(const char *s) +sh_quote(const char *s) { if (*s && !strpbrk(s, "\001\002\003\004\005\006\007\010" @@ -159,7 +159,7 @@ trace() for (i = 0; i < argslen; i++) { if (i > 0) fprintf(traceout, " "); - shquote(args[i]); + sh_quote(args[i]); } fprintf(traceout, "\n"); fflush(traceout); -- cgit 1.4.1