0034-m4-Declare-dopaste-only-when-it-s-used.patch (786B)
1 From 666a050e706230ba5b0316a316100d8c7e86c93c Mon Sep 17 00:00:00 2001 2 From: Michael Forney <mforney@mforney.org> 3 Date: Thu, 4 Jun 2020 21:42:18 -0700 4 Subject: [PATCH] m4: Declare dopaste only when it's used 5 6 --- 7 usr.bin/m4/eval.c | 2 ++ 8 1 file changed, 2 insertions(+) 9 10 diff --git a/usr.bin/m4/eval.c b/usr.bin/m4/eval.c 11 index d226505cab3..fe9fbde3d9c 100644 12 --- a/usr.bin/m4/eval.c 13 +++ b/usr.bin/m4/eval.c 14 @@ -61,7 +61,9 @@ static void dodump(const char *[], int); 15 static void dotrace(const char *[], int, int); 16 static void doifelse(const char *[], int); 17 static int doincl(const char *); 18 +#ifdef EXTENDED 19 static int dopaste(const char *); 20 +#endif 21 static void dochq(const char *[], int); 22 static void dochc(const char *[], int); 23 static void dom4wrap(const char *); 24 -- 25 2.27.0 26