diff src/ralloc.c @ 109501:c02e8765755d

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)
author Juanma Barranquero <lekktu@gmail.com>
date Fri, 23 Jul 2010 19:50:14 +0200
parents 750db9f3e6d8
children 68ca98ae70fb
line wrap: on
line diff
--- a/src/ralloc.c	Fri Jul 23 15:58:52 2010 +0200
+++ b/src/ralloc.c	Fri Jul 23 19:50:14 2010 +0200
@@ -519,35 +519,6 @@
 
   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.  */