diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2015-11-20 18:03:05 +0100 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2015-11-20 18:03:05 +0100 |
commit | 51bf1b81f3c4c7c02d8101f8ab6eb5609892e728 (patch) | |
tree | ebae89c9758e456413847d5de99de8444efb7c01 /newlib/libc/stdlib/mprec.h | |
parent | b5d8a403eca4b15e4e5a9bc5dd6a85780e6e1d3f (diff) | |
download | cygnal-51bf1b81f3c4c7c02d8101f8ab6eb5609892e728.tar.gz cygnal-51bf1b81f3c4c7c02d8101f8ab6eb5609892e728.tar.bz2 cygnal-51bf1b81f3c4c7c02d8101f8ab6eb5609892e728.zip |
Make match function globally available to stdlib functions.
* libc/stdlib/strtod.c (match): Move from here...
* libc/stdlib/gdtoa-hexnan.c (match): ...to here.
* libc/stdlib/mprec.h (match): Declare and add __match define.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'newlib/libc/stdlib/mprec.h')
-rw-r--r-- | newlib/libc/stdlib/mprec.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/newlib/libc/stdlib/mprec.h b/newlib/libc/stdlib/mprec.h index d4732ca8c..8472e7db0 100644 --- a/newlib/libc/stdlib/mprec.h +++ b/newlib/libc/stdlib/mprec.h @@ -360,6 +360,7 @@ typedef struct _Bigint _Bigint; #define mult __multiply #define pow5mult __pow5mult #define lshift __lshift +#define match __match #define cmp __mcmp #define diff __mdiff #define ulp __ulp @@ -396,6 +397,7 @@ int _EXFUN(hi0bits,(__ULong)); int _EXFUN(lo0bits,(__ULong *)); _Bigint * _EXFUN(d2b,(struct _reent *p, double d, int *e, int *bits)); _Bigint * _EXFUN(lshift,(struct _reent *p, _Bigint *b, int k)); +int _EXFUN(match,(const char**, char*)); _Bigint * _EXFUN(diff,(struct _reent *p, _Bigint *a, _Bigint *b)); int _EXFUN(cmp,(_Bigint *a, _Bigint *b)); int _EXFUN(gethex,(struct _reent *p, _CONST char **sp, _CONST struct FPI *fpi, Long *exp, _Bigint **bp, int sign)); |