diff --git a/src/igc.c b/src/igc.c index 6a34610533b..9c3c8e82758 100644 --- a/src/igc.c +++ b/src/igc.c @@ -2891,14 +2891,6 @@ root_create_buffer (struct igc *gc, struct buffer *b) root_create_ambig (gc, start, end, "buffer"); } -static void -root_create_terminal_list (struct igc *gc) -{ - void *start = &terminal_list; - void *end = (char *) start + sizeof (terminal_list); - root_create_ambig (gc, start, end, "terminal-list"); -} - static void root_create_tty_list (struct igc *gc) { @@ -2942,6 +2934,12 @@ igc_root_create_exact_ptr (void *var_addr) root_create_exact_ptr (global_igc, var_addr); } +static void +root_create_terminal_list (struct igc *gc) +{ + root_create_exact_ptr (gc, &terminal_list); +} + static void root_create_specpdl (struct igc_thread_list *t) {