remove unused function in mangle.c
[tprouty/samba.git] / source / smbwrapper / realcalls.c
index 4eb3d5e087cdaa84197277cd1abbd5c8ce2b0923..aabde7fa87c4e2872f8b7fdd3ee58d10de9c0093 100644 (file)
@@ -20,7 +20,7 @@
 */
 
 #include "includes.h"
-#include "wrapper.h"
+#include "realcalls.h"
 
 #ifdef REPLACE_UTIME
 int real_utime(const char *name, struct utimbuf *buf)
@@ -35,3 +35,15 @@ int real_utime(const char *name, struct utimbuf *buf)
        return real_utimes(name, &tv[0]);
 }
 #endif
+
+#ifdef REPLACE_UTIMES
+int real_utimes(const char *name, struct timeval tv[2])
+{
+       struct utimbuf buf;
+
+       buf.actime = tv[0].tv_sec;
+       buf.modtime = tv[1].tv_sec;
+       
+       return real_utime(name, &buf);
+}
+#endif