From 63c18a8309ee4c333923de904a29dd7e81d2cdc7 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Fri, 26 Dec 2008 16:09:46 +0000 Subject: 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 --- libc/misc/regex/regex_old.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'libc/misc/regex/regex_old.c') 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; -- cgit v1.2.3