| author | |
| committer | |
| log | 02767690e0084ccbad2268c4f4abb0b2d2e8c30a |
| tree | 19221aba21333173dc09c6df37a4b739af9fa969 |
| parent | 71c78cc9cfbcefa165882326a9b90efacf107216 |
2 files changed, 2 insertions(+), 4 deletions(-)
src/parse_f128.c+1-1| ... | @@ -1028,7 +1028,7 @@ float128_t __floatscan(struct MuslFILE *f, int prec, int pok) | ... | @@ -1028,7 +1028,7 @@ float128_t __floatscan(struct MuslFILE *f, int prec, int pok) |
| 1028 | 	return decfloat(f, c, bits, emin, sign, pok); | 1028 | 	return decfloat(f, c, bits, emin, sign, pok); |
| 1029 | } | 1029 | } |
| 1030 | 1030 | ||
| 1031 | float128_t parse_f128(const char *restrict s, char **restrict p) { | 1031 | float128_t parse_f128(const char *s, char **p) { |
| 1032 | 	struct MuslFILE f; | 1032 | 	struct MuslFILE f; |
| 1033 | 	sh_fromstring(&f, s); | 1033 | 	sh_fromstring(&f, s); |
| 1034 | 	shlim(&f, 0); | 1034 | 	shlim(&f, 0); |
src/parse_f128.h+1-3| ... | @@ -12,12 +12,10 @@ | ... | @@ -12,12 +12,10 @@ |
| 12 | 12 | ||
| 13 | #ifdef __cplusplus | 13 | #ifdef __cplusplus |
| 14 | #define ZIG_EXTERN_C extern "C" | 14 | #define ZIG_EXTERN_C extern "C" |
| 15 | #define ZIG_RESTRICT | ||
| 16 | #else | 15 | #else |
| 17 | #define ZIG_EXTERN_C | 16 | #define ZIG_EXTERN_C |
| 18 | #define ZIG_RESTRICT restrict | ||
| 19 | #endif | 17 | #endif |
| 20 | 18 | ||
| 21 | ZIG_EXTERN_C float128_t parse_f128(const char *ZIG_RESTRICT s, char **ZIG_RESTRICT p); | 19 | ZIG_EXTERN_C float128_t parse_f128(const char *s, char **p); |
| 22 | 20 | ||
| 23 | #endif | 21 | #endif |