X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fstrdup.c;h=28d2ba1aa9b2b7af7e5bc2130f169d0704f3ab79;hb=c5467a5a59852da74dc849497f47b4966fcba269;hp=5aa09a652c3f2ab46218afb8b5a0708ad40f9fdd;hpb=8ee0415dbe113fd16461ea60be8f1851e95565cc;p=gnulib.git diff --git a/lib/strdup.c b/lib/strdup.c index 5aa09a652..28d2ba1aa 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 #endif -#if defined _LIBC || defined STDC_HEADERS -# include -# include -#else -char *malloc (); -char *memcpy (); -#endif +#include +#include #undef __strdup #undef strdup