#985162 match.c: add missing prototypes

Package:
src:nn
Source:
nn
Submitter:
Bjarni Ingi Gislason
Date:
2021-03-13 20:42:06 UTC
Severity:
normal
Tags:
#985162#5
Date:
2021-03-13 20:39:36 UTC
From:
To:
Dear Maintainer,

Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
---
 match.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/match.c b/match.c
index 68fece3..8eadbeb 100644
--- a/match.c
+++ b/match.c
@@ -10,6 +10,13 @@
 #include "global.h"
 #include "regexp.h"

+/* prototypes */
+void	fold_string(register char *);
+int	regexec_fold(register regexp *, char *);
+int	strmatch(char *, register char *);
+int	strmatch_cf(char *, char *);
+int	strmatch_fold(char *, register char *);
+
 int             case_fold_search = 1;

 #define MAXFOLD	256		/* max length of any string */