Convert declarations or definitions to standard C.
[bpt/emacs.git] / src / scroll.c
index 410420d..f05b59e 100644 (file)
@@ -86,17 +86,12 @@ static void do_scrolling (struct frame *,
    new contents appears.  */
 
 static void
-calculate_scrolling (frame, matrix, window_size, lines_below,
-                    draw_cost, old_hash, new_hash,
-                    free_at_end)
-     FRAME_PTR frame;
-     /* matrix is of size window_size + 1 on each side.  */
-     struct matrix_elt *matrix;
-     int window_size, lines_below;
-     int *draw_cost;
-     int *old_hash;
-     int *new_hash;
-     int free_at_end;
+calculate_scrolling (FRAME_PTR frame,
+                    /* matrix is of size window_size + 1 on each side.  */
+                    struct matrix_elt *matrix,
+                    int window_size, int lines_below,
+                    int *draw_cost, int *old_hash, int *new_hash,
+                    int free_at_end)
 {
   register int i, j;
   int frame_lines = FRAME_LINES (frame);
@@ -424,18 +419,13 @@ do_scrolling (struct frame *frame, struct glyph_matrix *current_matrix, struct m
    is the equivalent of draw_cost for the old line contents */
 
 static void
-calculate_direct_scrolling (frame, matrix, window_size, lines_below,
-                           draw_cost, old_draw_cost, old_hash, new_hash,
-                           free_at_end)
-     FRAME_PTR frame;
-     /* matrix is of size window_size + 1 on each side.  */
-     struct matrix_elt *matrix;
-     int window_size, lines_below;
-     int *draw_cost;
-     int *old_draw_cost;
-     int *old_hash;
-     int *new_hash;
-     int free_at_end;
+calculate_direct_scrolling (FRAME_PTR frame,
+                           /* matrix is of size window_size + 1 on each side.  */
+                           struct matrix_elt *matrix,
+                           int window_size, int lines_below,
+                           int *draw_cost, int *old_draw_cost,
+                           int *old_hash, int *new_hash,
+                           int free_at_end)
 {
   register int i, j;
   int frame_lines = FRAME_LINES (frame);
@@ -956,15 +946,11 @@ line_ins_del (FRAME_PTR frame, int ov1, int pf1, int ovn, int pfn, register int
 }
 
 static void
-ins_del_costs (frame,
-              one_line_string, multi_string,
-              setup_string, cleanup_string,
-              costvec, ncostvec, coefficient)
-     FRAME_PTR frame;
-     char *one_line_string, *multi_string;
-     char *setup_string, *cleanup_string;
-     int *costvec, *ncostvec;
-     int coefficient;
+ins_del_costs (FRAME_PTR frame,
+              char *one_line_string, char *multi_string,
+              char *setup_string, char *cleanup_string,
+              int *costvec, int *ncostvec,
+              int coefficient)
 {
   if (multi_string)
     line_ins_del (frame,