diff --git a/third_party/musl/ndk_musl_include/errno.h b/third_party/musl/ndk_musl_include/errno.h index 9ebe0f75e17165b51c3bbca0dc137abb55ba60e7..954aef941bf0d7d9d7f7adf958955b5004704487 100644 --- a/third_party/musl/ndk_musl_include/errno.h +++ b/third_party/musl/ndk_musl_include/errno.h @@ -15,10 +15,6 @@ __attribute__((const)) int *__errno_location(void); #define errno (*__errno_location()) -#ifdef _GNU_SOURCE -extern char *program_invocation_short_name, *program_invocation_name; -#endif - #ifdef __cplusplus } #endif diff --git a/third_party/musl/ndk_musl_include/resolv.h b/third_party/musl/ndk_musl_include/resolv.h index f4849522b67ca234b4db0d97ac3e597d7223055d..591cc18d60ef173c4887f36c5a7248be28395d18 100644 --- a/third_party/musl/ndk_musl_include/resolv.h +++ b/third_party/musl/ndk_musl_include/resolv.h @@ -122,8 +122,6 @@ struct res_sym { #define RES_PRF_REPLY 0x00002000 #define RES_PRF_INIT 0x00004000 -#define _res (*__res_state()) - int res_init(void); int res_query(const char *, int, int, unsigned char *, int); int res_querydomain(const char *, const char *, int, int, unsigned char *, int);