mirror of https://git.musl-libc.org/git/musl
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:
parent
a31a30a007
commit
a48ccc159a
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue