From: Matthew Maurer Date: Thu, 13 Jun 2019 19:33:38 +0000 (-0700) Subject: do not use _Noreturn for a function pointer in dynamic linker X-Git-Tag: v1.1.23~30 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a48ccc159a5fa061a18419296100ee48a1cd6cc9;p=oweals%2Fmusl.git do not use _Noreturn for a function pointer in dynamic linker _Noreturn is a C11 construct, and may only be used at the site of a function definition. --- diff --git a/src/internal/dynlink.h b/src/internal/dynlink.h index cbe0a6fe..165bbedb 100644 --- a/src/internal/dynlink.h +++ b/src/internal/dynlink.h @@ -95,7 +95,7 @@ struct fdpic_dummy_loadmap { #define DYN_CNT 32 typedef void (*stage2_func)(unsigned char *, size_t *); -typedef _Noreturn void (*stage3_func)(size_t *); +typedef void (*stage3_func)(size_t *); hidden void *__dlsym(void *restrict, const char *restrict, void *restrict);