From 33ac04147b6c42796f4c0c16d6aeb261033c171e Mon Sep 17 00:00:00 2001 From: Juanma Barranquero Date: Fri, 23 Jul 2010 19:50:14 +0200 Subject: Remove unused static functions. * alloc.c (free_float) * font.c [ENABLE_CHECKING] (font_match_xlfd, font_check_xlfd_parse) * frame.c (delete_frame_handler) * ralloc.c (reorder_bloc) * w32menu.c (menubar_id_to_frame, add_left_right_boundary) --- src/ralloc.c | 29 ----------------------------- 1 file changed, 29 deletions(-) (limited to 'src/ralloc.c') diff --git a/src/ralloc.c b/src/ralloc.c index 0a2b156e393..f0299873f54 100644 --- a/src/ralloc.c +++ b/src/ralloc.c @@ -519,35 +519,6 @@ relocate_blocs (bloc_ptr bloc, heap_ptr heap, POINTER address) return 1; } - -/* Reorder the bloc BLOC to go before bloc BEFORE in the doubly linked list. - This is necessary if we put the memory of space of BLOC - before that of BEFORE. */ - -static void -reorder_bloc (bloc_ptr bloc, bloc_ptr before) -{ - bloc_ptr prev, next; - - /* Splice BLOC out from where it is. */ - prev = bloc->prev; - next = bloc->next; - - if (prev) - prev->next = next; - if (next) - next->prev = prev; - - /* Splice it in before BEFORE. */ - prev = before->prev; - - if (prev) - prev->next = bloc; - bloc->prev = prev; - - before->prev = bloc; - bloc->next = before; -} /* Update the records of which heaps contain which blocs, starting with heap HEAP and bloc BLOC. */ -- cgit v1.2.1