Fix warnings; no parameters in function prototypes.

This commit is contained in:
mdodd 2003-06-19 02:39:37 +00:00
parent cc04305671
commit 68a944aa1c
2 changed files with 3 additions and 3 deletions

View File

@ -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 *);

View File

@ -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 *);