Mercurial > emacs
diff src/scroll.c @ 21514:fa9ff387d260
Fix -Wimplicit warnings.
author | Andreas Schwab <schwab@suse.de> |
---|---|
date | Tue, 14 Apr 1998 12:25:56 +0000 |
parents | ee40177f6c68 |
children | bfd115279703 |
line wrap: on
line diff
--- a/src/scroll.c Tue Apr 14 10:56:46 1998 +0000 +++ b/src/scroll.c Tue Apr 14 12:25:56 1998 +0000 @@ -264,7 +264,7 @@ bcopy (current_frame->glyphs, temp_frame->glyphs, current_frame->height * sizeof (GLYPH *)); bcopy (current_frame->charstarts, temp_frame->charstarts, - current_frame->height * sizeof (GLYPH *)); + current_frame->height * sizeof (int *)); bcopy (current_frame->used, temp_frame->used, current_frame->height * sizeof (int)); bcopy (current_frame->highlight, temp_frame->highlight, @@ -889,6 +889,7 @@ These are the same arguments that might be given to scroll_frame_lines to perform this scrolling. */ +int scroll_cost (frame, from, to, amount) FRAME_PTR frame; int from, to, amount; @@ -1008,6 +1009,7 @@ Deletion is essentially the same as insertion. */ +void do_line_insertion_deletion_costs (frame, ins_line_string, multi_ins_string, del_line_string, multi_del_string,