From 49b1fae4309ab5b9833f0af388483c2b6b4b3d50 Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Mon, 28 Mar 2005 02:09:01 +0000 Subject: merge from gcc --- libiberty/xstrdup.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libiberty/xstrdup.c') diff --git a/libiberty/xstrdup.c b/libiberty/xstrdup.c index 5ddd2e98a93..c04623d98ec 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); -- cgit v1.2.1