diff options
author | Jim Meyering <jim@meyering.net> | 2003-09-13 22:01:20 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-09-13 22:01:20 +0000 |
commit | dce9582d2ca06a6c50165014b21d95654541e8da (patch) | |
tree | a44364d0664dbc9f44ba1ed449b6e1fe9c1a7808 /lib/strdup.c | |
parent | 2be39af412edc53d4ef09097949550697c270173 (diff) | |
download | coreutils-dce9582d2ca06a6c50165014b21d95654541e8da.tar.xz |
Update from gnulib.
Diffstat (limited to 'lib/strdup.c')
-rw-r--r-- | lib/strdup.c | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/lib/strdup.c b/lib/strdup.c index d37207199..52667e98e 100644 --- a/lib/strdup.c +++ b/lib/strdup.c @@ -1,4 +1,6 @@ -/* Copyright (C) 1991, 1996, 1997, 1998, 2002 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1996, 1997, 1998, 2002, 2003 Free Software + Foundation, Inc. + This file is part of the GNU C Library. This program is free software; you can redistribute it and/or modify @@ -19,13 +21,8 @@ # include <config.h> #endif -#if defined _LIBC || defined STDC_HEADERS -# include <stdlib.h> -# include <string.h> -#else -char *malloc (); -char *memcpy (); -#endif +#include <stdlib.h> +#include <string.h> #undef __strdup #undef strdup |