Mercurial > pidgin.yaz
changeset 32416:36dbba5833da
Remove wpurple_rename(). I suspect nobody actually ever used it directly
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Fri, 26 Aug 2011 19:26:33 +0000 |
parents | e46321099396 |
children | cca6cd8975ef |
files | libpurple/win32/libc_interface.c libpurple/win32/libc_interface.h libpurple/win32/libc_internal.h |
diffstat | 3 files changed, 1 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/win32/libc_interface.c Fri Aug 26 05:05:30 2011 +0000 +++ b/libpurple/win32/libc_interface.c Fri Aug 26 19:26:33 2011 +0000 @@ -467,12 +467,6 @@ return res; } -/* stdio.h */ - -int wpurple_rename (const char *oldname, const char *newname) { - return g_rename(oldname, newname); -} - /* time.h */ struct tm * wpurple_localtime_r (const time_t *time, struct tm *resultp) {
--- a/libpurple/win32/libc_interface.h Fri Aug 26 05:05:30 2011 +0000 +++ b/libpurple/win32/libc_interface.h Fri Aug 26 19:26:33 2011 +0000 @@ -135,7 +135,7 @@ #define vsnprintf _vsnprintf #define rename( oldname, newname ) \ -wpurple_rename( oldname, newname ) +g_rename( oldname, newname ) /* sys/stat.h */ #define fchmod(a,b)
--- a/libpurple/win32/libc_internal.h Fri Aug 26 05:05:30 2011 +0000 +++ b/libpurple/win32/libc_internal.h Fri Aug 26 19:26:33 2011 +0000 @@ -141,9 +141,6 @@ int wpurple_gethostname(char *name, size_t size); -/* stdio.h */ -int wpurple_rename(const char *oldname, const char *newname); - #ifdef __cplusplus } #endif /* __cplusplus */