Fix warnings; no parameters in function prototypes.
This commit is contained in:
parent
cf56713abf
commit
2c297acb7a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=116557
@ -194,7 +194,7 @@ unsigned long elf_hash(const char *);
|
||||
const Elf_Sym *find_symdef(unsigned long, const Obj_Entry *,
|
||||
const Obj_Entry **, bool, SymCache *);
|
||||
void init_pltgot(Obj_Entry *);
|
||||
void lockdflt_init();
|
||||
void lockdflt_init(void);
|
||||
void obj_free(Obj_Entry *);
|
||||
Obj_Entry *obj_new(void);
|
||||
int reloc_non_plt(Obj_Entry *, Obj_Entry *);
|
||||
|
@ -33,14 +33,14 @@
|
||||
struct RtldLockInfo
|
||||
{
|
||||
unsigned int rtli_version;
|
||||
void *(*lock_create)();
|
||||
void *(*lock_create)(void);
|
||||
void (*lock_destroy)(void *);
|
||||
void (*rlock_acquire)(void *);
|
||||
void (*wlock_acquire)(void *);
|
||||
void (*lock_release)(void *);
|
||||
int (*thread_set_flag)(int);
|
||||
int (*thread_clr_flag)(int);
|
||||
void (*at_fork)();
|
||||
void (*at_fork)(void);
|
||||
};
|
||||
|
||||
extern void _rtld_thread_init(struct RtldLockInfo *);
|
||||
|
Loading…
Reference in New Issue
Block a user