summaryrefslogtreecommitdiff
path: root/libc/misc/regex/regex_old.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-12-26 16:09:46 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-12-26 16:09:46 +0000
commit63c18a8309ee4c333923de904a29dd7e81d2cdc7 (patch)
tree85d2aa405da2d34c5271fc667e5143dc9b7ea0e6 /libc/misc/regex/regex_old.c
parent0ef4c6b76fcaca59014c4d00828d4079314c1700 (diff)
regex: remove useless casts on allocations;
remove old-style-C function params declarations; change re_comp_buf from struct to pointer (more static build friendly) text data bss dec hex filename - 514952 2731 15424 533107 82273 lib/libuClibc-0.9.30-svn.so + 515011 2731 15396 533138 82292 lib/libuClibc-0.9.30-svn.so
Diffstat (limited to 'libc/misc/regex/regex_old.c')
-rw-r--r--libc/misc/regex/regex_old.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/libc/misc/regex/regex_old.c b/libc/misc/regex/regex_old.c
index be93cc028..af1af50a6 100644
--- a/libc/misc/regex/regex_old.c
+++ b/libc/misc/regex/regex_old.c
@@ -7832,10 +7832,9 @@ PREFIX(bcmp_translate) (
We call regex_compile to do the actual compilation. */
const char *
-re_compile_pattern (
- const char *pattern,
- size_t length,
- struct re_pattern_buffer *bufp)
+re_compile_pattern (const char *pattern,
+ size_t length,
+ struct re_pattern_buffer *bufp)
{
reg_errcode_t ret;