summaryrefslogtreecommitdiff
path: root/libc/misc/regex/regex_old.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/regex/regex_old.c')
-rw-r--r--libc/misc/regex/regex_old.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libc/misc/regex/regex_old.c b/libc/misc/regex/regex_old.c
index a3c30b51a..acf81a319 100644
--- a/libc/misc/regex/regex_old.c
+++ b/libc/misc/regex/regex_old.c
@@ -753,7 +753,7 @@ static smallint debug;
/* Print the fastmap in human-readable form. */
# ifndef DEFINED_ONCE
-void
+static void
print_fastmap (char *fastmap)
{
unsigned was_a_range = 0;
@@ -785,7 +785,7 @@ print_fastmap (char *fastmap)
/* Print a compiled pattern string in human-readable form, starting at
the START pointer into it and ending just before the pointer END. */
-void
+static void
PREFIX(print_partial_compiled_pattern) (UCHAR_T *start, UCHAR_T *end)
{
int mcnt, mcnt2;
@@ -1118,7 +1118,7 @@ PREFIX(print_partial_compiled_pattern) (UCHAR_T *start, UCHAR_T *end)
}
-void
+static void
PREFIX(print_compiled_pattern) (struct re_pattern_buffer *bufp)
{
UCHAR_T *buffer = (UCHAR_T*) bufp->buffer;
@@ -1150,7 +1150,7 @@ PREFIX(print_compiled_pattern) (struct re_pattern_buffer *bufp)
}
-void
+static void
PREFIX(print_double_string) (
const CHAR_T *where,
const CHAR_T *string1,
@@ -1187,7 +1187,7 @@ PREFIX(print_double_string) (
}
}
-# ifndef DEFINED_ONCE
+# if 0 /* ndef DEFINED_ONCE */
void
printchar (int c)
{