logo

oasis

Own branch of Oasis Linux (upstream: <https://git.sr.ht/~mcf/oasis/>) git clone https://anongit.hacktivis.me/git/oasis.git

0033-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. usr.bin/m4/eval.c | 2 ++
  7. 1 file changed, 2 insertions(+)
  8. diff --git a/usr.bin/m4/eval.c b/usr.bin/m4/eval.c
  9. index d226505cab3..fe9fbde3d9c 100644
  10. --- a/usr.bin/m4/eval.c
  11. +++ b/usr.bin/m4/eval.c
  12. @@ -61,7 +61,9 @@ static void dodump(const char *[], int);
  13. static void dotrace(const char *[], int, int);
  14. static void doifelse(const char *[], int);
  15. static int doincl(const char *);
  16. +#ifdef EXTENDED
  17. static int dopaste(const char *);
  18. +#endif
  19. static void dochq(const char *[], int);
  20. static void dochc(const char *[], int);
  21. static void dom4wrap(const char *);
  22. --
  23. 2.27.0