Make stdin_event_handler static

I noticed that stdin_event_handler is only used in event-top.c, so
this patch changes it to be 'static'.
This commit is contained in:
Tom Tromey 2022-08-26 16:48:24 -06:00
parent 549dfc51b0
commit 63b3ec661a
2 changed files with 1 additions and 2 deletions

View file

@ -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;

View file

@ -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);