Fix build

libc/integral changes aren't checked in the build dependency, due to
being explicitly listed in .UNVEIL, which is how this breakage ended
up accidentally slipping through the cracks.
This commit is contained in:
Justine Tunney 2022-11-08 15:24:17 -08:00
parent bf7843833f
commit fc595a7111
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
2 changed files with 8 additions and 8 deletions

View file

@ -348,12 +348,12 @@ typedef struct ThInfo {
#define Bcopy(x, y) \
memcpy(&x->sign, &y->sign, y->wds * sizeof(ULong) + 2 * sizeof(int))
hidden extern const double __gdtoa_tens[];
hidden extern const double __gdtoa_bigtens[];
hidden extern const double __gdtoa_tinytens[];
hidden extern const unsigned char __gdtoa_hexdig[];
hidden extern const char *const __gdtoa_InfName[6];
hidden extern const char *const __gdtoa_NanName[3];
_Hide extern const double __gdtoa_tens[];
_Hide extern const double __gdtoa_bigtens[];
_Hide extern const double __gdtoa_tinytens[];
_Hide extern const unsigned char __gdtoa_hexdig[];
_Hide extern const char *const __gdtoa_InfName[6];
_Hide extern const char *const __gdtoa_NanName[3];
Bigint *__gdtoa_Balloc(int, ThInfo **);
void __gdtoa_Bfree(Bigint *, ThInfo **);

View file

@ -75,8 +75,8 @@ int optreset;
*/
char *optarg;
hidden char *getopt_place;
char kGetoptEmsg[1] hidden;
_Hide char *getopt_place;
_Hide char kGetoptEmsg[1];
static void getopt_print_badch(const char *s) {
char b1[512];