From f590bf3733391efce2c5bc8816d31608a3af6324 Mon Sep 17 00:00:00 2001 From: ed Date: Tue, 29 Dec 2009 21:07:17 +0000 Subject: ANSIfy ldconfig and the aout bits it still uses from rtld-aout. (Why is aout support still there?) --- libexec/rtld-aout/support.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'libexec/rtld-aout/support.c') diff --git a/libexec/rtld-aout/support.c b/libexec/rtld-aout/support.c index 71a84ff..eb8bd29 100644 --- a/libexec/rtld-aout/support.c +++ b/libexec/rtld-aout/support.c @@ -38,8 +38,7 @@ #include "support.h" char * -concat(s1, s2, s3) - const char *s1, *s2, *s3; +concat(const char *s1, const char *s2, const char *s3) { int len = 1; char *s; @@ -61,8 +60,7 @@ concat(s1, s2, s3) } void * -xmalloc(n) - size_t n; +xmalloc(size_t n) { char *p = malloc(n); @@ -73,9 +71,7 @@ xmalloc(n) } void * -xrealloc(p, n) - void *p; - size_t n; +xrealloc(void *p, size_t n) { p = realloc(p, n); -- cgit v1.1