+2007-10-16 Bruno Haible <bruno@clisp.org>
+
+ * lib/getcwd.c (__getcwd): Define with explicit rpl_ prefix.
+ * lib/getgroups.c (getgroups): Likewise.
+ * lib/gettimeofday.c (localtime, gmtime, tzset): Likewise.
+
2007-10-16 Bruno Haible <bruno@clisp.org>
* modules/absolute-header (License): Change from LGPL to LGPLv2+.
#endif
#if !_LIBC
-# define __getcwd getcwd
+# define __getcwd rpl_getcwd
# define __lstat lstat
# define __closedir closedir
# define __opendir opendir
/* provide consistent interface to getgroups for systems that don't allow N==0
- Copyright (C) 1996, 1999, 2003, 2006 Free Software Foundation, Inc.
+ Copyright (C) 1996, 1999, 2003, 2006, 2007 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
provided function handle all others. */
int
-getgroups (int n, GETGROUPS_T *group)
+rpl_getgroups (int n, GETGROUPS_T *group)
{
int n_groups;
GETGROUPS_T *gbuf;
localtime uses for its result. */
struct tm *
-localtime (time_t const *timep)
+rpl_localtime (time_t const *timep)
{
#undef localtime
extern struct tm *localtime (time_t const *);
/* Same as above, since gmtime and localtime use the same buffer. */
struct tm *
-gmtime (time_t const *timep)
+rpl_gmtime (time_t const *timep)
{
#undef gmtime
extern struct tm *gmtime (time_t const *);
/* This is a wrapper for tzset, for systems on which tzset may clobber
the static buffer used for localtime's result. */
void
-tzset (void)
+rpl_tzset (void)
{
#undef tzset
extern void tzset (void);