From fc595a7111634d9fbfffc55a403342a47ed3c3de Mon Sep 17 00:00:00 2001 From: Justine Tunney Date: Tue, 8 Nov 2022 15:24:17 -0800 Subject: [PATCH] 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. --- third_party/gdtoa/gdtoa.internal.h | 12 ++++++------ third_party/getopt/getopt.c | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/third_party/gdtoa/gdtoa.internal.h b/third_party/gdtoa/gdtoa.internal.h index 7560d7b4a..094e4de9f 100644 --- a/third_party/gdtoa/gdtoa.internal.h +++ b/third_party/gdtoa/gdtoa.internal.h @@ -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 **); diff --git a/third_party/getopt/getopt.c b/third_party/getopt/getopt.c index c4e3050fc..3c208219b 100644 --- a/third_party/getopt/getopt.c +++ b/third_party/getopt/getopt.c @@ -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];