diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-12-26 16:10:42 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-12-26 16:10:42 +0000 |
commit | 25a0dc93aca130f375da0a99ee13b079aa32b05d (patch) | |
tree | 081113f58138ca2d383a53e4cd3a4ca6c45cfda3 /libc/misc/regex/regex_old.c | |
parent | 822415c917c41d4724e1feb5aa9330a91c5e70d9 (diff) | |
download | uClibc-alpine-25a0dc93aca130f375da0a99ee13b079aa32b05d.tar.bz2 uClibc-alpine-25a0dc93aca130f375da0a99ee13b079aa32b05d.tar.xz |
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.c | 7 |
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; |