From 0e52036f1f47078a9863f6a377ff11e10a81e8c4 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Tue, 20 Mar 2001 00:54:43 +0000 Subject: Move realoc() decl to utils.c. s/realloc()/xrealloc()/. --- gdb/lin-thread.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/lin-thread.c') diff --git a/gdb/lin-thread.c b/gdb/lin-thread.c index 8c4caff..8c303fd 100644 --- a/gdb/lin-thread.c +++ b/gdb/lin-thread.c @@ -780,8 +780,8 @@ insert_thread (int tid, int lid, td_thr_state_e state, td_thr_type_e type) if (threadlist_top >= threadlist_max) { threadlist_max += THREADLIST_ALLOC; - threadlist = realloc (threadlist, - threadlist_max * sizeof (threadinfo)); + threadlist = xrealloc (threadlist, + threadlist_max * sizeof (threadinfo)); if (threadlist == NULL) return NULL; } -- cgit v1.1