From 9f0947a175ece1f04399c1733eb52a81c13871cb Mon Sep 17 00:00:00 2001
From: joerg_wunsch <joerg_wunsch@81a1dc3b-b13d-400b-aceb-764788c761c2>
Date: Fri, 29 Sep 2006 20:52:32 +0000
Subject: [PATCH] Fix prototype for gettimeofday().

Closes bug #17884: another gettimeofday conflict under win32/cygwin


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@667 81a1dc3b-b13d-400b-aceb-764788c761c2
---
 ChangeLog | 5 +++++
 pgm.h     | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 4d9d591f..2a5800af 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-09-29 Joerg Wunsch <j@uriah.heep.sax.de>
+
+	* pgm.h: Fix prototype for gettimeofday().
+	Closes bug #17884: another gettimeofday conflict under win32/cygwin
+
 2006-09-24 Joerg Wunsch <j@uriah.heep.sax.de>
 
 	Submitted by Thomas Fischl (initially):
diff --git a/pgm.h b/pgm.h
index cb644f89..8ab8365f 100644
--- a/pgm.h
+++ b/pgm.h
@@ -121,7 +121,7 @@ PROGRAMMER * pgm_new(void);
 */
 void usleep(unsigned long us);
 
-void gettimeofday(struct timeval*, void*z);
+void gettimeofday(struct timeval *tv, struct timezone *tz);
 
 #endif /* __win32native_h */