[git commit] regex_old: make some internal helpers static
Bernhard Reutner-Fischer
rep.dot.nop at gmail.com
Thu Nov 17 10:25:52 UTC 2011
commit: http://git.uclibc.org/uClibc/commit/?id=90d597eac8ebbb9ebfa065f6873d28646303f814
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
libc/misc/regex/regex_old.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/libc/misc/regex/regex_old.c b/libc/misc/regex/regex_old.c
index a3c30b5..acf81a3 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)
{
More information about the uClibc-cvs
mailing list