-rw-r--r-- | gsl-shell.c | 2 | ||||
-rw-r--r-- | gsl-shell.h | 3 |
diff --git a/gsl-shell.c b/gsl-shell.c index 371f17bc..84fb16d8 100644 --- a/gsl-shell.c +++ b/gsl-shell.c @@ -166,7 +166,7 @@ static void l_message (const char *pname, const char *msg) { } -int error_report (lua_State *L, int status) { +static int error_report (lua_State *L, int status) { if (status && !lua_isnil(L, -1)) { const char *msg = lua_tostring(L, -1); if (msg == NULL) msg = "(error object is not a string)"; diff --git a/gsl-shell.h b/gsl-shell.h index 3b575e98..6ab23596 100644 --- a/gsl-shell.h +++ b/gsl-shell.h @@ -6,9 +6,6 @@ __BEGIN_DECLS -#include "lua.h" - -extern int error_report (lua_State *L, int status); extern void gsl_shell_unref_plot (int id); extern pthread_mutex_t gsl_shell_mutex[1]; |