mirror of
git://git.musl-libc.org/musl
synced 2025-03-06 20:48:29 +01:00
move and deduplicate declarations of __vdsosym to make it checkable
This commit is contained in:
parent
6fcd60ddd9
commit
cb229f614f
3 changed files with 2 additions and 4 deletions
|
@ -246,4 +246,6 @@ hidden long __syscall_ret(unsigned long), __syscall(syscall_arg_t, ...),
|
|||
|
||||
void __procfdname(char [static 15+3*sizeof(int)], unsigned);
|
||||
|
||||
void *__vdsosym(const char *, const char *);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -6,8 +6,6 @@
|
|||
|
||||
#ifdef VDSO_GETCPU_SYM
|
||||
|
||||
void *__vdsosym(const char *, const char *);
|
||||
|
||||
static void *volatile vdso_func;
|
||||
|
||||
typedef long (*getcpu_f)(unsigned *, unsigned *, void *);
|
||||
|
|
|
@ -7,8 +7,6 @@
|
|||
|
||||
#ifdef VDSO_CGT_SYM
|
||||
|
||||
void *__vdsosym(const char *, const char *);
|
||||
|
||||
static void *volatile vdso_func;
|
||||
|
||||
static int cgt_init(clockid_t clk, struct timespec *ts)
|
||||
|
|
Loading…
Add table
Reference in a new issue