From 860aea6e04e863e5ae43dd1d3021e1d0d4a89ab4 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@668 81a1dc3b-b13d-400b-aceb-764788c761c2 --- avrdude/pgm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/avrdude/pgm.h b/avrdude/pgm.h index 8ab8365f..882d8888 100644 --- a/avrdude/pgm.h +++ b/avrdude/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 */