提交 b529ec9b 编写于 作者: R Rich Felker

move stage3_func typedef out of shared internal dynlink.h header

this interface contract is entirely internal to dynlink.c.
上级 2fc29fcf
...@@ -107,6 +107,8 @@ struct symdef { ...@@ -107,6 +107,8 @@ struct symdef {
struct dso *dso; struct dso *dso;
}; };
typedef void (*stage3_func)(size_t *);
static struct builtin_tls { static struct builtin_tls {
char c; char c;
struct pthread pt; struct pthread pt;
......
...@@ -96,7 +96,6 @@ struct fdpic_dummy_loadmap { ...@@ -96,7 +96,6 @@ struct fdpic_dummy_loadmap {
#define DYN_CNT 32 #define DYN_CNT 32
typedef void (*stage2_func)(unsigned char *, size_t *); typedef void (*stage2_func)(unsigned char *, size_t *);
typedef void (*stage3_func)(size_t *);
hidden void *__dlsym(void *restrict, const char *restrict, void *restrict); hidden void *__dlsym(void *restrict, const char *restrict, void *restrict);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册