diff mbox

[3/4] dapl/dtest: remove gettimeofday definition

Message ID E9F6461C37494A9586069CB583DF5E14@amr.corp.intel.com (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Hefty, Sean Sept. 30, 2009, 11:15 p.m. UTC
None
diff mbox

Patch

diff --git a/test/dtest/dtest.c b/test/dtest/dtest.c
index 22999f7..1ae279f 100755
--- a/test/dtest/dtest.c
+++ b/test/dtest/dtest.c
@@ -723,17 +723,6 @@  complete:
 	return (0);
 }
 
-#if defined(_WIN32) || defined(_WIN64)
-void gettimeofday(struct timeval *t, char *jnk)
-{
-	SYSTEMTIME now;
-	GetLocalTime(&now);
-	t->tv_sec = now.wMinute * 60;
-	t->tv_sec += now.wSecond;
-	t->tv_usec = now.wMilliseconds;
-}
-#endif
-
 double get_time(void)
 {
 	struct timeval tp;
diff --git a/test/dtest/dtestcm.c b/test/dtest/dtestcm.c
index 427a25e..d1e5712 100644
--- a/test/dtest/dtestcm.c
+++ b/test/dtest/dtestcm.c
@@ -547,19 +547,6 @@  bail:
 	return (0);
 }
 
-#if defined(_WIN32) || defined(_WIN64)
-
-void gettimeofday(struct timeval *t, char *jnk)
-{
-	SYSTEMTIME now;
-	GetLocalTime(&now);
-	t->tv_sec = now.wMinute * 60;
-	t->tv_sec += now.wSecond;
-	t->tv_usec = now.wMilliseconds;
-}
-
-#endif
-
 double get_time(void)
 {
 	struct timeval tp;