+2007-02-25 Jim Meyering <jim@meyering.net>
+
+ Avoid conflicting types for 'unsetenv' on FreeBSD.
+ * lib/putenv.c (_unsetenv): Rename from "unsetenv", to avoid
+ conflicting with FreeBSD's (5.0 and 6.1) function declaration
+ in stdlib.h.
+
2007-02-24 Bruno Haible <bruno@clisp.org>
* modules/isnanl-nolibm-tests: New file.
-/* Copyright (C) 1991, 1994, 1997, 1998, 2000, 2003, 2004, 2005, 2006
+/* Copyright (C) 1991, 1994, 1997, 1998, 2000, 2003, 2004, 2005, 2006, 2007
Free Software Foundation, Inc.
NOTE: The canonical source of this file is maintained with the GNU C
#endif
static int
-unsetenv (const char *name)
+_unsetenv (const char *name)
{
size_t len;
char **ep;
if (name_end == NULL)
{
/* Remove the variable from the environment. */
- return unsetenv (string);
+ return _unsetenv (string);
}
size = 0;