summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/ld/i386/md-static-funcs.c
diff options
context:
space:
mode:
authorMarco S Hyman <marc@cvs.openbsd.org>2002-07-19 19:28:13 +0000
committerMarco S Hyman <marc@cvs.openbsd.org>2002-07-19 19:28:13 +0000
commit4949dbe071951e4093685c0e84a63dc5451eca45 (patch)
tree531eb3504f538dd7365ed53dd7799f381ed067ea /gnu/usr.bin/ld/i386/md-static-funcs.c
parent2cb47dcca29852637cb080135bb980889a2e08f4 (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/i386/md-static-funcs.c')
-rw-r--r--gnu/usr.bin/ld/i386/md-static-funcs.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/gnu/usr.bin/ld/i386/md-static-funcs.c b/gnu/usr.bin/ld/i386/md-static-funcs.c
index 28041323785..74f1fd73a83 100644
--- a/gnu/usr.bin/ld/i386/md-static-funcs.c
+++ b/gnu/usr.bin/ld/i386/md-static-funcs.c
@@ -1,4 +1,4 @@
-/* * $OpenBSD: md-static-funcs.c,v 1.3 2002/07/15 21:05:57 marc Exp $*/
+/* * $OpenBSD: md-static-funcs.c,v 1.4 2002/07/19 19:28:12 marc Exp $*/
/*
*
* Called by ld.so when onanating.
@@ -6,10 +6,7 @@
*/
static void
-md_relocate_simple(r, relocation, addr)
-struct relocation_info *r;
-long relocation;
-char *addr;
+md_relocate_simple(struct relocation_info *r, long relocation, char *addr)
{
if (r->r_relative)
*(long *)addr += relocation;