From f31e064e7b2175e5a20552b6b2a627f5411d9b9f 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 _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.22.0.410.gd8fdbe21b5-goog