projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a31a30a
)
do not use _Noreturn for a function pointer in dynamic linker
author
Matthew Maurer
<mmaurer@google.com>
Thu, 13 Jun 2019 19:33:38 +0000
(12:33 -0700)
committer
Rich Felker
<dalias@aerifal.cx>
Fri, 21 Jun 2019 20:26:40 +0000
(16:26 -0400)
_Noreturn is a C11 construct, and may only be used at the site of a
function definition.
src/internal/dynlink.h
patch
|
blob
|
history
diff --git
a/src/internal/dynlink.h
b/src/internal/dynlink.h
index cbe0a6fea2da92156654c976defcc4564b8a4872..165bbedbb8d0d5c8245f56d7b42fa426c7a512d1 100644
(file)
--- 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);