aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/event-top.c2
-rw-r--r--gdb/event-top.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/gdb/event-top.c b/gdb/event-top.c
index 00adbe8f..88c53b7 100644
--- a/gdb/event-top.c
+++ b/gdb/event-top.c
@@ -497,7 +497,7 @@ get_command_line_buffer (void)
instead of calling gdb_readline_no_editing_callback, give gdb a
chance to detect errors and do something. */
-void
+static void
stdin_event_handler (int error, gdb_client_data client_data)
{
struct ui *ui = (struct ui *) client_data;
diff --git a/gdb/event-top.h b/gdb/event-top.h
index 722e636..883ad19 100644
--- a/gdb/event-top.h
+++ b/gdb/event-top.h
@@ -45,7 +45,6 @@ extern void handle_sigtstp (int sig);
extern void handle_sigint (int sig);
extern void handle_sigterm (int sig);
extern void async_request_quit (void *arg);
-extern void stdin_event_handler (int error, void *client_data);
extern void async_disable_stdin (void);
extern void async_enable_stdin (void);