comparison 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
comparison
equal deleted inserted replaced
21513:984881b316fc 21514:fa9ff387d260
262 temp_frame = FRAME_TEMP_GLYPHS (frame); 262 temp_frame = FRAME_TEMP_GLYPHS (frame);
263 263
264 bcopy (current_frame->glyphs, temp_frame->glyphs, 264 bcopy (current_frame->glyphs, temp_frame->glyphs,
265 current_frame->height * sizeof (GLYPH *)); 265 current_frame->height * sizeof (GLYPH *));
266 bcopy (current_frame->charstarts, temp_frame->charstarts, 266 bcopy (current_frame->charstarts, temp_frame->charstarts,
267 current_frame->height * sizeof (GLYPH *)); 267 current_frame->height * sizeof (int *));
268 bcopy (current_frame->used, temp_frame->used, 268 bcopy (current_frame->used, temp_frame->used,
269 current_frame->height * sizeof (int)); 269 current_frame->height * sizeof (int));
270 bcopy (current_frame->highlight, temp_frame->highlight, 270 bcopy (current_frame->highlight, temp_frame->highlight,
271 current_frame->height * sizeof (char)); 271 current_frame->height * sizeof (char));
272 bzero (temp_frame->enable, temp_frame->height * sizeof (char)); 272 bzero (temp_frame->enable, temp_frame->height * sizeof (char));
887 starting with vpos FROM, up to but not including vpos TO, 887 starting with vpos FROM, up to but not including vpos TO,
888 down by AMOUNT lines (AMOUNT may be negative). 888 down by AMOUNT lines (AMOUNT may be negative).
889 These are the same arguments that might be given to 889 These are the same arguments that might be given to
890 scroll_frame_lines to perform this scrolling. */ 890 scroll_frame_lines to perform this scrolling. */
891 891
892 int
892 scroll_cost (frame, from, to, amount) 893 scroll_cost (frame, from, to, amount)
893 FRAME_PTR frame; 894 FRAME_PTR frame;
894 int from, to, amount; 895 int from, to, amount;
895 { 896 {
896 /* Compute how many lines, at bottom of frame, 897 /* Compute how many lines, at bottom of frame,
1006 This is reasonable because of the particular algorithm used in calcM. 1007 This is reasonable because of the particular algorithm used in calcM.
1007 1008
1008 Deletion is essentially the same as insertion. 1009 Deletion is essentially the same as insertion.
1009 */ 1010 */
1010 1011
1012 void
1011 do_line_insertion_deletion_costs (frame, 1013 do_line_insertion_deletion_costs (frame,
1012 ins_line_string, multi_ins_string, 1014 ins_line_string, multi_ins_string,
1013 del_line_string, multi_del_string, 1015 del_line_string, multi_del_string,
1014 setup_string, cleanup_string, coefficient) 1016 setup_string, cleanup_string, coefficient)
1015 FRAME_PTR frame; 1017 FRAME_PTR frame;