diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-06-27 02:52:20 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-06-27 02:52:20 +0000 |
commit | defc1ea34074e7882724c460260d307cdf981a70 (patch) | |
tree | fca9b9a5fe243f9c0c76b84824ea2ff92ea8e589 /libbb/xregcomp.c | |
parent | 26bc57d8b26425f23f4be974cce7bf35c95c9a1a (diff) | |
download | busybox-w32-defc1ea34074e7882724c460260d307cdf981a70.tar.gz busybox-w32-defc1ea34074e7882724c460260d307cdf981a70.tar.bz2 busybox-w32-defc1ea34074e7882724c460260d307cdf981a70.zip |
*: introduce and use FAST_FUNC: regparm on i386, otherwise no-on
text data bss dec hex filename
808035 611 6868 815514 c719a busybox_old
804472 611 6868 811951 c63af busybox_unstripped
Diffstat (limited to 'libbb/xregcomp.c')
-rw-r--r-- | libbb/xregcomp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libbb/xregcomp.c b/libbb/xregcomp.c index 157132c1f..abfa35ff1 100644 --- a/libbb/xregcomp.c +++ b/libbb/xregcomp.c | |||
@@ -11,7 +11,7 @@ | |||
11 | #include "libbb.h" | 11 | #include "libbb.h" |
12 | #include "xregex.h" | 12 | #include "xregex.h" |
13 | 13 | ||
14 | char* regcomp_or_errmsg(regex_t *preg, const char *regex, int cflags) | 14 | char* FAST_FUNC regcomp_or_errmsg(regex_t *preg, const char *regex, int cflags) |
15 | { | 15 | { |
16 | int ret = regcomp(preg, regex, cflags); | 16 | int ret = regcomp(preg, regex, cflags); |
17 | if (ret) { | 17 | if (ret) { |
@@ -23,7 +23,7 @@ char* regcomp_or_errmsg(regex_t *preg, const char *regex, int cflags) | |||
23 | return NULL; | 23 | return NULL; |
24 | } | 24 | } |
25 | 25 | ||
26 | void xregcomp(regex_t *preg, const char *regex, int cflags) | 26 | void FAST_FUNC xregcomp(regex_t *preg, const char *regex, int cflags) |
27 | { | 27 | { |
28 | char *errmsg = regcomp_or_errmsg(preg, regex, cflags); | 28 | char *errmsg = regcomp_or_errmsg(preg, regex, cflags); |
29 | if (errmsg) { | 29 | if (errmsg) { |