diff options
Diffstat (limited to 'locale/programs/xstrdup.c')
-rw-r--r-- | locale/programs/xstrdup.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/locale/programs/xstrdup.c b/locale/programs/xstrdup.c index a8fadb3d15..445d67cd41 100644 --- a/locale/programs/xstrdup.c +++ b/locale/programs/xstrdup.c @@ -30,8 +30,7 @@ char *xstrdup (char *string) __THROW; /* Return a newly allocated copy of STRING. */ char * -xstrdup (string) - char *string; +xstrdup (char *string) { return strcpy (xmalloc (strlen (string) + 1), string); } |