summaryrefslogtreecommitdiffstats
path: root/libexec/rtld-aout/support.c
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/rtld-aout/support.c')
-rw-r--r--libexec/rtld-aout/support.c10
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);
OpenPOWER on IntegriCloud