summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2011-11-17 11:25:52 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2011-11-17 11:25:52 +0100
commit90d597eac8ebbb9ebfa065f6873d28646303f814 (patch)
tree262bd17df453328d8d257b96d96f1288a2764f39
parentfbe324024de24d236549179b77c07fa02d9b6926 (diff)
regex_old: make some internal helpers static
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
-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)
{