diff options
author | ed <ed@FreeBSD.org> | 2009-12-29 21:07:17 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2009-12-29 21:07:17 +0000 |
commit | f590bf3733391efce2c5bc8816d31608a3af6324 (patch) | |
tree | cb860e98c746cc55642d58a1d6f8abf38791aa9e /libexec/rtld-aout/support.c | |
parent | 5fbcec72beb7ffed8cace5ad64600f073e7fd80e (diff) | |
download | FreeBSD-src-f590bf3733391efce2c5bc8816d31608a3af6324.zip FreeBSD-src-f590bf3733391efce2c5bc8816d31608a3af6324.tar.gz |
ANSIfy ldconfig and the aout bits it still uses from rtld-aout.
(Why is aout support still there?)
Diffstat (limited to 'libexec/rtld-aout/support.c')
-rw-r--r-- | libexec/rtld-aout/support.c | 10 |
1 files changed, 3 insertions, 7 deletions
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); |