diff options
author | Marco S Hyman <marc@cvs.openbsd.org> | 2002-07-19 19:28:13 +0000 |
---|---|---|
committer | Marco S Hyman <marc@cvs.openbsd.org> | 2002-07-19 19:28:13 +0000 |
commit | 4949dbe071951e4093685c0e84a63dc5451eca45 (patch) | |
tree | 531eb3504f538dd7365ed53dd7799f381ed067ea /gnu/usr.bin/ld/rtld/md-prologue.c | |
parent | 2cb47dcca29852637cb080135bb980889a2e08f4 (diff) |
convert functions from K&R style to prototype style.
Function arg types have not yet been fixed. OK fgs@, espie@
Diffstat (limited to 'gnu/usr.bin/ld/rtld/md-prologue.c')
-rw-r--r-- | gnu/usr.bin/ld/rtld/md-prologue.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/gnu/usr.bin/ld/rtld/md-prologue.c b/gnu/usr.bin/ld/rtld/md-prologue.c index 1422bec291d..e19a4990db7 100644 --- a/gnu/usr.bin/ld/rtld/md-prologue.c +++ b/gnu/usr.bin/ld/rtld/md-prologue.c @@ -1,4 +1,4 @@ -/* $OpenBSD: md-prologue.c,v 1.3 2002/07/10 17:28:16 marc Exp $ */ +/* $OpenBSD: md-prologue.c,v 1.4 2002/07/19 19:28:12 marc Exp $ */ /* * rtld entry pseudo code - turn into assembler and tweak it @@ -15,9 +15,7 @@ extern void (*rtld)(); extern void (*binder())(); void -rtld_entry(version, crtp) -int version; -struct crt *crtp; +rtld_entry(int version, struct crt *crtp) { struct link_dynamic *dp; void (*f)(); @@ -30,7 +28,7 @@ struct crt *crtp; } void -binder_entry() +binder_entry(void) { extern int PC; struct jmpslot *sp; |