diff options
author | Antonio Borneo <borneo.antonio@gmail.com> | 2010-06-19 23:46:46 +0800 |
---|---|---|
committer | Antonio Borneo <borneo.antonio@gmail.com> | 2010-06-21 22:14:12 +0800 |
commit | b978dcbbee628ed30286b90cecf7085eb2cb7a82 (patch) | |
tree | e0c299a50514a31957fdb3b9c60176cff9252f28 | |
parent | 3cfbf705597732c7b6a5b11a556c818529ea725b (diff) | |
download | openocd_libswd-b978dcbbee628ed30286b90cecf7085eb2cb7a82.tar.gz openocd_libswd-b978dcbbee628ed30286b90cecf7085eb2cb7a82.tar.bz2 openocd_libswd-b978dcbbee628ed30286b90cecf7085eb2cb7a82.tar.xz openocd_libswd-b978dcbbee628ed30286b90cecf7085eb2cb7a82.zip |
helper/jim-eventloop.h: review unused definitions
Remove unused typedef and define
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
-rw-r--r-- | src/helper/jim-eventloop.h | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/src/helper/jim-eventloop.h b/src/helper/jim-eventloop.h index 77ee8fec..95c31d6e 100644 --- a/src/helper/jim-eventloop.h +++ b/src/helper/jim-eventloop.h @@ -53,7 +53,6 @@ #define __JIM_EVENTLOOP_H__ typedef int Jim_FileProc(Jim_Interp *interp, void *clientData, int mask); -typedef int Jim_SignalProc(Jim_Interp *interp, void *clientData, void *msg); typedef void Jim_TimeProc(Jim_Interp *interp, void *clientData); typedef void Jim_EventFinalizerProc(Jim_Interp *interp, void *clientData); @@ -63,8 +62,6 @@ typedef void Jim_EventFinalizerProc(Jim_Interp *interp, void *clientData); #define JIM_EVENT_EXCEPTION 4 #define JIM_EVENT_FEOF 8 -#define JIM_API(x) x - int Jim_EventLoopOnLoad(Jim_Interp *interp); /* --- POSIX version of Jim_ProcessEvents, for now the only available --- */ @@ -73,16 +70,6 @@ int Jim_EventLoopOnLoad(Jim_Interp *interp); #define JIM_ALL_EVENTS (JIM_FILE_EVENTS | JIM_TIME_EVENTS) #define JIM_DONT_WAIT 4 -int JIM_API(Jim_ProcessEvents) (Jim_Interp *interp, int flags); - -#undef JIM_API - -#ifndef __JIM_EVENTLOOP_CORE__ - -#define JIM_GET_API(name) \ - Jim_GetApi(interp, "Jim_" #name, ((void *)&Jim_ ## name)) - -#undef JIM_GET_API -#endif /* __JIM_EVENTLOOP_CORE__ */ +int Jim_ProcessEvents(Jim_Interp *interp, int flags); #endif /* __JIM_EVENTLOOP_H__ */ |