Author: tkreuzer
Date: Sat Dec 13 19:43:24 2008
New Revision: 38068
URL:
http://svn.reactos.org/svn/reactos?rev=38068&view=rev
Log:
fix utime usage
Modified:
trunk/reactos/include/crt/sys/utime.h
Modified: trunk/reactos/include/crt/sys/utime.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/crt/sys/utime.h?re…
==============================================================================
--- trunk/reactos/include/crt/sys/utime.h [iso-8859-1] (original)
+++ trunk/reactos/include/crt/sys/utime.h [iso-8859-1] Sat Dec 13 19:43:24 2008
@@ -91,8 +91,11 @@
#endif
#endif
+ _CRTIMP int __cdecl _utime(const char *_Filename,struct _utimbuf *_Utimbuf);
_CRTIMP int __cdecl _utime32(const char *_Filename,struct __utimbuf32 *_Time);
+ _CRTIMP int __cdecl _futime(int _Desc,struct _utimbuf *_Utimbuf);
_CRTIMP int __cdecl _futime32(int _FileDes,struct __utimbuf32 *_Time);
+ _CRTIMP int __cdecl _wutime(const wchar_t *_Filename,struct _utimbuf *_Utimbuf);
_CRTIMP int __cdecl _wutime32(const wchar_t *_Filename,struct __utimbuf32 *_Time);
#if _INTEGRAL_MAX_BITS >= 64
_CRTIMP int __cdecl _utime64(const char *_Filename,struct __utimbuf64 *_Time);
@@ -100,9 +103,10 @@
_CRTIMP int __cdecl _wutime64(const wchar_t *_Filename,struct __utimbuf64 *_Time);
#endif
+#if 0
#ifndef RC_INVOKED
#ifdef _USE_32BIT_TIME_T
-__CRT_INLINE int __cdecl _utime(const char *_Filename,struct _utimbuf *_Utimbuf) {
+__CRT_INLINE int __cdecl _utime32(const char *_Filename,struct _utimbuf *_Utimbuf) {
return _utime32(_Filename,(struct __utimbuf32 *)_Utimbuf);
}
__CRT_INLINE int __cdecl _futime(int _Desc,struct _utimbuf *_Utimbuf) {
@@ -122,18 +126,13 @@
return _wutime64(_Filename,(struct __utimbuf64 *)_Utimbuf);
}
#endif
+#endif
+#endif
#ifndef NO_OLDNAMES
-#ifdef _USE_32BIT_TIME_T
__CRT_INLINE int __cdecl utime(const char *_Filename,struct utimbuf *_Utimbuf) {
- return _utime32(_Filename,(struct __utimbuf32 *)_Utimbuf);
+ return _utime(_Filename,(struct _utimbuf *)_Utimbuf);
}
-#else
-__CRT_INLINE int __cdecl utime(const char *_Filename,struct utimbuf *_Utimbuf) {
- return _utime64(_Filename,(struct __utimbuf64 *)_Utimbuf);
-}
-#endif
-#endif
#endif
#ifdef __cplusplus