From 63c15e7eca3e2fea891915ba39f1f942676ca4da Mon Sep 17 00:00:00 2001 From: Joerg Wunsch Date: Sat, 30 Sep 2006 19:36:22 +0000 Subject: [PATCH] The return type of gettimeofday() is actually `int' not `void'. git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@668 81a1dc3b-b13d-400b-aceb-764788c761c2 --- pgm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pgm.h b/pgm.h index 8ab8365f..882d8888 100644 --- a/pgm.h +++ b/pgm.h @@ -121,7 +121,7 @@ PROGRAMMER * pgm_new(void); */ void usleep(unsigned long us); -void gettimeofday(struct timeval *tv, struct timezone *tz); +int gettimeofday(struct timeval *tv, struct timezone *tz); #endif /* __win32native_h */