diff options
-rw-r--r-- | src/lcurses/window.c | 4 | ||||
-rw-r--r-- | src/teliva.c | 1 | ||||
-rw-r--r-- | src/teliva.h | 2 |
3 files changed, 3 insertions, 4 deletions
diff --git a/src/lcurses/window.c b/src/lcurses/window.c index c7521b9..ded837f 100644 --- a/src/lcurses/window.c +++ b/src/lcurses/window.c @@ -309,7 +309,6 @@ Refresh the window terminal display from the virtual screen. @see curses.doupdate @see noutrefresh */ -extern void render_trusted_teliva_data (lua_State *L); static int Wrefresh(lua_State *L) { @@ -1302,7 +1301,6 @@ Read a character from the window input. @see curses.echo @see keypad */ -extern void developer_mode (lua_State *L, const char *status_message); static int Wgetch(lua_State *L) { @@ -1322,7 +1320,7 @@ Wgetch(lua_State *L) exit(0); } if (c == CTRL_E) - developer_mode(L, /*status message*/ ""); + developer_mode(L); /* handle other standard menu hotkeys here */ return pushintresult(c); diff --git a/src/teliva.c b/src/teliva.c index c7ea660..00c3ca8 100644 --- a/src/teliva.c +++ b/src/teliva.c @@ -125,7 +125,6 @@ void render_previous_error(void) { } extern char* strdup(const char* s); -extern void developer_mode(lua_State* L); int report_in_developer_mode(lua_State* L, int status) { if (status && !lua_isnil(L, -1)) { Previous_error = strdup(lua_tostring(L, -1)); /* memory leak */ diff --git a/src/teliva.h b/src/teliva.h index d018223..7c3684f 100644 --- a/src/teliva.h +++ b/src/teliva.h @@ -142,6 +142,8 @@ enum color_pair { extern char** Argv; extern int handle_image(lua_State* L, char** argv, int n); +extern void developer_mode(lua_State* L); + extern int load_editor_buffer_to_current_definition_in_image(lua_State* L); extern void save_to_current_definition_and_editor_buffer(lua_State* L, const char* definition); extern void save_editor_state(int rowoff, int coloff, int cy, int cx); |