aboutsummaryrefslogtreecommitdiffstats
path: root/src/scroll.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/scroll.c')
-rw-r--r--src/scroll.c22
1 files changed, 6 insertions, 16 deletions
diff --git a/src/scroll.c b/src/scroll.c
index 3b033f3bfda..bf7a6d484cb 100644
--- a/src/scroll.c
+++ b/src/scroll.c
@@ -640,13 +640,9 @@ calculate_direct_scrolling (FRAME_PTR frame,
640 the cost matrix for this approach is constructed. */ 640 the cost matrix for this approach is constructed. */
641 641
642static void 642static void
643do_direct_scrolling (frame, current_matrix, cost_matrix, 643do_direct_scrolling (struct frame *frame, struct glyph_matrix *current_matrix,
644 window_size, unchanged_at_top) 644 struct matrix_elt *cost_matrix, int window_size,
645 struct frame *frame; 645 int unchanged_at_top)
646 struct glyph_matrix *current_matrix;
647 struct matrix_elt *cost_matrix;
648 int window_size;
649 int unchanged_at_top;
650{ 646{
651 struct matrix_elt *p; 647 struct matrix_elt *p;
652 int i, j; 648 int i, j;
@@ -796,15 +792,9 @@ do_direct_scrolling (frame, current_matrix, cost_matrix,
796 792
797 793
798void 794void
799scrolling_1 (frame, window_size, unchanged_at_top, unchanged_at_bottom, 795scrolling_1 (FRAME_PTR frame, int window_size, int unchanged_at_top,
800 draw_cost, old_draw_cost, old_hash, new_hash, free_at_end) 796 int unchanged_at_bottom, int *draw_cost, int *old_draw_cost,
801 FRAME_PTR frame; 797 int *old_hash, int *new_hash, int free_at_end)
802 int window_size, unchanged_at_top, unchanged_at_bottom;
803 int *draw_cost;
804 int *old_draw_cost;
805 int *old_hash;
806 int *new_hash;
807 int free_at_end;
808{ 798{
809 struct matrix_elt *matrix; 799 struct matrix_elt *matrix;
810 matrix = ((struct matrix_elt *) 800 matrix = ((struct matrix_elt *)