0033-m4-Declare-dopaste-only-when-it-s-used.patch (806B)
1 From df8af384d7c22f6bfee93e6ff1f9bcf501549664 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 9ee73fcd3d6..ba828074a5a 100644 12 --- a/usr.bin/m4/eval.c 13 +++ b/usr.bin/m4/eval.c 14 @@ -61,7 +61,9 @@ static void dodumpdef(const char *[], int); 15 static void dotrace(const char *[], int, int); 16 static void doifelse(const char *[], int); 17 static int doinclude(const char *); 18 +#ifdef EXTENDED 19 static int dopaste(const char *); 20 +#endif 21 static void dochangequote(const char *[], int); 22 static void dochangecom(const char *[], int); 23 static void dom4wrap(const char *); 24 -- 25 2.54.0 26