diff options
author | Tom Tromey <tom@tromey.com> | 2022-08-26 16:48:24 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2022-09-20 13:49:48 -0600 |
commit | 63b3ec661a06acb4fa722c618a6b0003e5e141c3 (patch) | |
tree | 6679fe80f9f4eb5a0501acf03471dd48cdf55cfc /gdb/event-top.c | |
parent | 549dfc51b07c0c749ebde15a3fa855ab496ea18a (diff) | |
download | fsf-binutils-gdb-63b3ec661a06acb4fa722c618a6b0003e5e141c3.zip fsf-binutils-gdb-63b3ec661a06acb4fa722c618a6b0003e5e141c3.tar.gz fsf-binutils-gdb-63b3ec661a06acb4fa722c618a6b0003e5e141c3.tar.bz2 |
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'.
Diffstat (limited to 'gdb/event-top.c')
-rw-r--r-- | gdb/event-top.c | 2 |
1 files changed, 1 insertions, 1 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; |