diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-10-22 07:37:40 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-10-22 07:37:40 +0000 |
commit | 6eeab625cd9e3467c75b382b23d161bb321aaa72 (patch) | |
tree | 182401914df2a89951565531f3ea368c1203f6df /src | |
parent | 9b1ddfc1ebd38f57f29431f44f45b3af8b489d87 (diff) | |
download | openocd_libswd-6eeab625cd9e3467c75b382b23d161bb321aaa72.tar.gz openocd_libswd-6eeab625cd9e3467c75b382b23d161bb321aaa72.tar.bz2 openocd_libswd-6eeab625cd9e3467c75b382b23d161bb321aaa72.tar.xz openocd_libswd-6eeab625cd9e3467c75b382b23d161bb321aaa72.zip |
fix warnings when building for eCos
git-svn-id: svn://svn.berlios.de/openocd/trunk@1085 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src')
-rw-r--r-- | src/ecosboard.c | 4 | ||||
-rw-r--r-- | src/helper/replacements.h | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/ecosboard.c b/src/ecosboard.c index e39e8e6c..61cfada7 100644 --- a/src/ecosboard.c +++ b/src/ecosboard.c @@ -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" diff --git a/src/helper/replacements.h b/src/helper/replacements.h index 9e3fdf8a..33e85501 100644 --- a/src/helper/replacements.h +++ b/src/helper/replacements.h @@ -88,6 +88,8 @@ struct timezone { /* gettimeofday() */ #ifndef HAVE_GETTIMEOFDAY +struct timeval; +struct timezone; extern int gettimeofday(struct timeval *tv, struct timezone *tz); #endif |