summaryrefslogtreecommitdiff
path: root/src/ralloc.c
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2010-07-23 19:50:14 +0200
committerJuanma Barranquero <lekktu@gmail.com>2010-07-23 19:50:14 +0200
commit33ac04147b6c42796f4c0c16d6aeb261033c171e (patch)
tree41a8f653f89ff485760e3fe495bc78fe24e4a967 /src/ralloc.c
parent225d5e9e16070f908c22e1b40bf9db29fdf17c20 (diff)
downloademacs-33ac04147b6c42796f4c0c16d6aeb261033c171e.tar.gz
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)
Diffstat (limited to 'src/ralloc.c')
-rw-r--r--src/ralloc.c29
1 files changed, 0 insertions, 29 deletions
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. */