diff options
author | Matthew Maurer <mmaurer@google.com> | 2019-06-13 12:33:38 -0700 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2019-06-21 16:26:40 -0400 |
commit | a48ccc159a5fa061a18419296100ee48a1cd6cc9 (patch) | |
tree | d3ecdb557cc745984aff638de6eced0ed545165d | |
parent | a31a30a0076c284133c0f4dfa32b8b37883ac930 (diff) | |
download | musl-a48ccc159a5fa061a18419296100ee48a1cd6cc9.tar.gz musl-a48ccc159a5fa061a18419296100ee48a1cd6cc9.tar.bz2 musl-a48ccc159a5fa061a18419296100ee48a1cd6cc9.tar.xz musl-a48ccc159a5fa061a18419296100ee48a1cd6cc9.zip |
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.
-rw-r--r-- | src/internal/dynlink.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |