fix warnings when building for eCos
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Wed, 22 Oct 2008 07:37:40 +0000 (07:37 +0000)
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Wed, 22 Oct 2008 07:37:40 +0000 (07:37 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@1085 b42882b7-edfa-0310-969c-e2dbd0fdcd60

src/ecosboard.c
src/helper/replacements.h

index e39e8e6cf364deab3c8c6187d51f2e6d70bd5386..61cfada7e02f3b0557f7e419cc46857d6c6e4a85 100644 (file)
@@ -96,12 +96,12 @@ struct tftpd_fileops fileops =
 
 #endif
 
-#define ZYLIN_VERSION "1.44"
+#define ZYLIN_VERSION "1.45"
 #define ZYLIN_DATE __DATE__
 #define ZYLIN_TIME __TIME__
 /* hmmm....  we can't pick up the right # during build if we've checked this out
  * in Eclipse... arrggghh...*/
-#define ZYLIN_OPENOCD 1033
+#define ZYLIN_OPENOCD $Revision$
 #define ZYLIN_OPENOCD_VERSION "Zylin JTAG ZY1000 " ZYLIN_VERSION " " ZYLIN_DATE " " ZYLIN_TIME
 #define ZYLIN_CONFIG_DIR "/config/settings"
 
index 9e3fdf8a60b68beeffe01ab97e84d4829f03ba45..33e8550167f91995449b644c6fd8c5b67d67c306 100644 (file)
@@ -88,6 +88,8 @@ struct timezone {
 
 /* gettimeofday() */
 #ifndef HAVE_GETTIMEOFDAY
+struct timeval;
+struct timezone;
 extern int gettimeofday(struct timeval *tv, struct timezone *tz);
 #endif