From a48ccc159a5fa061a18419296100ee48a1cd6cc9 Mon Sep 17 00:00:00 2001 From: Matthew Maurer Date: Thu, 13 Jun 2019 12:33:38 -0700 Subject: [PATCH] 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. --- src/internal/dynlink.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.25.1