From 700ad4661585d0526b1739148f487ca55dd9e56d Mon Sep 17 00:00:00 2001 From: Joerg Wunsch 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 + + * pgm.h: Fix prototype for gettimeofday(). + Closes bug #17884: another gettimeofday conflict under win32/cygwin + 2006-09-24 Joerg Wunsch 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 */