aboutsummaryrefslogtreecommitdiff
path: root/libiberty/xstrdup.c
diff options
context:
space:
mode:
Diffstat (limited to 'libiberty/xstrdup.c')
-rw-r--r--libiberty/xstrdup.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libiberty/xstrdup.c b/libiberty/xstrdup.c
index 5ddd2e9..c04623d 100644
--- a/libiberty/xstrdup.c
+++ b/libiberty/xstrdup.c
@@ -28,8 +28,7 @@ obtain memory.
#include "libiberty.h"
char *
-xstrdup (s)
- const char *s;
+xstrdup (const char *s)
{
register size_t len = strlen (s) + 1;
register char *ret = xmalloc (len);