0033-m4-Declare-dopaste-only-when-it-s-used.patch (806B)
- From df8af384d7c22f6bfee93e6ff1f9bcf501549664 Mon Sep 17 00:00:00 2001
- From: Michael Forney <mforney@mforney.org>
- Date: Thu, 4 Jun 2020 21:42:18 -0700
- Subject: [PATCH] m4: Declare dopaste only when it's used
- ---
- usr.bin/m4/eval.c | 2 ++
- 1 file changed, 2 insertions(+)
- diff --git a/usr.bin/m4/eval.c b/usr.bin/m4/eval.c
- index 9ee73fcd3d6..ba828074a5a 100644
- --- a/usr.bin/m4/eval.c
- +++ b/usr.bin/m4/eval.c
- @@ -61,7 +61,9 @@ static void dodumpdef(const char *[], int);
- static void dotrace(const char *[], int, int);
- static void doifelse(const char *[], int);
- static int doinclude(const char *);
- +#ifdef EXTENDED
- static int dopaste(const char *);
- +#endif
- static void dochangequote(const char *[], int);
- static void dochangecom(const char *[], int);
- static void dom4wrap(const char *);
- --
- 2.54.0