From: ntfreak Date: Wed, 6 Aug 2008 19:49:10 +0000 (+0000) Subject: - remove Jim_InitEmbedded warning X-Git-Tag: v0.1.0~404 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d203582a89454513db183c8dd880d6e07c1527ae;p=openocd - remove Jim_InitEmbedded warning git-svn-id: svn://svn.berlios.de/openocd/trunk@895 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- diff --git a/src/helper/jim.h b/src/helper/jim.h index 32dc94a5..a9af0251 100644 --- a/src/helper/jim.h +++ b/src/helper/jim.h @@ -991,7 +991,7 @@ static void Jim_InitExtension(Jim_Interp *interp) #ifdef JIM_EMBEDDED Jim_Interp *ExportedJimCreateInterp(void); -static void Jim_InitEmbedded(void) { +static __inline__ void Jim_InitEmbedded(void) { Jim_Interp *i = ExportedJimCreateInterp(); Jim_InitExtension(i); Jim_FreeInterp(i);