X-Git-Url: https://git.saurik.com/apple/libc.git/blobdiff_plain/1f2f436a38f7ae2d39a943ad2898d8fed4ed2e58..fc56b708803d28b949a9181528bb0da4d25b3b7b:/stdlib/OpenBSD/ecvt.c diff --git a/stdlib/OpenBSD/ecvt.c b/stdlib/OpenBSD/ecvt.c index 03ff918..869674e 100644 --- a/stdlib/OpenBSD/ecvt.c +++ b/stdlib/OpenBSD/ecvt.c @@ -20,6 +20,7 @@ * Materiel Command, USAF, under agreement number F39502-99-1-0512. */ +#include #include #include #include @@ -29,7 +30,7 @@ extern void __freedtoa(char *); static char *__cvt(double, int, int *, int *, int, int); static char * -__cvt(double value, int ndigit, int *decpt, int *sign, int fmode, int pad) +__cvt(double value, int ndigit, int * __restrict decpt, int * __restrict sign, int fmode, int pad) { static char *s; char *p, *rve, c; @@ -95,13 +96,13 @@ __cvt(double value, int ndigit, int *decpt, int *sign, int fmode, int pad) } char * -ecvt(double value, int ndigit, int *decpt, int *sign) +ecvt(double value, int ndigit, int * __restrict decpt, int * __restrict sign) { return(__cvt(value, ndigit, decpt, sign, 0, 1)); } char * -fcvt(double value, int ndigit, int *decpt, int *sign) +fcvt(double value, int ndigit, int * __restrict decpt, int * __restrict sign) { return(__cvt(value, ndigit, decpt, sign, 1, 1)); }