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.
This commit is contained in:
Matthew Maurer
2019-06-21 16:26:40 -04:00
committed by Rich Felker
parent a31a30a007
commit a48ccc159a
+1 -1
View File
@@ -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);