From 90d597eac8ebbb9ebfa065f6873d28646303f814 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Thu, 17 Nov 2011 11:25:52 +0100 Subject: regex_old: make some internal helpers static Signed-off-by: Bernhard Reutner-Fischer --- libc/misc/regex/regex_old.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'libc/misc/regex') 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) { -- cgit v1.2.3