summaryrefslogtreecommitdiff
path: root/src/helper/jim.c
diff options
context:
space:
mode:
authorntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-08-06 14:36:37 +0000
committerntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-08-06 14:36:37 +0000
commitce16ff901c63c65d6087af4436159a6529de3b95 (patch)
treed8589e3ec36005a5c14a89528a23c81d23719323 /src/helper/jim.c
parent09bb073239279be4df77a40377da66a741f43c5c (diff)
downloadopenocd_libswd-ce16ff901c63c65d6087af4436159a6529de3b95.tar.gz
openocd_libswd-ce16ff901c63c65d6087af4436159a6529de3b95.tar.bz2
openocd_libswd-ce16ff901c63c65d6087af4436159a6529de3b95.tar.xz
openocd_libswd-ce16ff901c63c65d6087af4436159a6529de3b95.zip
- fix target_examine declaration
- remove build warnings - added --enable-gccwarnings to docs - update mips_m4k_examine function git-svn-id: svn://svn.berlios.de/openocd/trunk@893 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/helper/jim.c')
-rw-r--r--src/helper/jim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helper/jim.c b/src/helper/jim.c
index 847b855e..1a35b32b 100644
--- a/src/helper/jim.c
+++ b/src/helper/jim.c
@@ -7760,7 +7760,7 @@ void *dlsym(void *handle, const char *symbol)
return GetProcAddress((HMODULE)handle, symbol);
}
static char win32_dlerror_string[121];
-const char *dlerror()
+const char *dlerror(void)
{
FormatMessageA(FORMAT_MESSAGE_FROM_SYSTEM, NULL, GetLastError(),
LANG_NEUTRAL, win32_dlerror_string, 120, NULL);