From: Rich Felker Date: Wed, 1 Jan 2020 02:51:07 +0000 (-0500) Subject: move stage3_func typedef out of shared internal dynlink.h header X-Git-Tag: v1.2.0~27 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b529ec9b52ff4b94e455f0e6cb1f3ef3994560d5;p=oweals%2Fmusl.git move stage3_func typedef out of shared internal dynlink.h header this interface contract is entirely internal to dynlink.c. --- diff --git a/ldso/dynlink.c b/ldso/dynlink.c index 7810356b..59176812 100644 --- a/ldso/dynlink.c +++ b/ldso/dynlink.c @@ -107,6 +107,8 @@ struct symdef { struct dso *dso; }; +typedef void (*stage3_func)(size_t *); + static struct builtin_tls { char c; struct pthread pt; diff --git a/src/internal/dynlink.h b/src/internal/dynlink.h index ffd06b04..764e3a1a 100644 --- a/src/internal/dynlink.h +++ b/src/internal/dynlink.h @@ -96,7 +96,6 @@ struct fdpic_dummy_loadmap { #define DYN_CNT 32 typedef void (*stage2_func)(unsigned char *, size_t *); -typedef void (*stage3_func)(size_t *); hidden void *__dlsym(void *restrict, const char *restrict, void *restrict);