summaryrefslogtreecommitdiff
path: root/src/helper
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-02-18 07:39:20 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-02-18 07:39:20 +0000
commitb7593457bce8b784c6fc7ced7f0a13b9a2391f8a (patch)
tree9571b8b7186e035032cc383731b4802580539ef2 /src/helper
parent2136238908840dd230854cb5d78b8da181ca7340 (diff)
downloadopenocd_libswd-b7593457bce8b784c6fc7ced7f0a13b9a2391f8a.tar.gz
openocd_libswd-b7593457bce8b784c6fc7ced7f0a13b9a2391f8a.tar.bz2
openocd_libswd-b7593457bce8b784c6fc7ced7f0a13b9a2391f8a.tar.xz
openocd_libswd-b7593457bce8b784c6fc7ced7f0a13b9a2391f8a.zip
Holger Schurig <hs4233@mail.mn-solutions.de> fix warnings
git-svn-id: svn://svn.berlios.de/openocd/trunk@1375 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/helper')
-rw-r--r--src/helper/jim-eventloop.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/helper/jim-eventloop.h b/src/helper/jim-eventloop.h
index 14887ac0..b927bc5b 100644
--- a/src/helper/jim-eventloop.h
+++ b/src/helper/jim-eventloop.h
@@ -95,17 +95,6 @@ JIM_STATIC int JIM_API(Jim_ProcessEvents) (Jim_Interp *interp, int flags);
#define JIM_GET_API(name) \
Jim_GetApi(interp, "Jim_" #name, ((void *)&Jim_ ## name))
-#if defined(JIM_EXTENSION) || defined(JIM_EMBEDDED)
-/* This must be included "inline" inside the extension */
-static void Jim_ImportEventloopAPI(Jim_Interp *interp)
-{
- JIM_GET_API(CreateFileHandler);
- JIM_GET_API(DeleteFileHandler);
- JIM_GET_API(CreateTimeHandler);
- JIM_GET_API(DeleteTimeHandler);
- JIM_GET_API(ProcessEvents);
-}
-#endif /* defined JIM_EXTENSION || defined JIM_EMBEDDED */
#undef JIM_GET_API
#endif /* __JIM_EVENTLOOP_CORE__ */