summaryrefslogtreecommitdiff
path: root/src/scroll.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>1998-04-14 12:25:56 +0000
committerAndreas Schwab <schwab@suse.de>1998-04-14 12:25:56 +0000
commitdfcf069d565c347abf3cb7cec80e6ed8432037ba (patch)
treecd9620f10084ffa69d7d6ae26284ffd69d4c07a5 /src/scroll.c
parent0f94f94657ad7a6a68e64c612285a5e06152def2 (diff)
downloademacs-dfcf069d565c347abf3cb7cec80e6ed8432037ba.tar.gz
Fix -Wimplicit warnings.
Diffstat (limited to 'src/scroll.c')
-rw-r--r--src/scroll.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/scroll.c b/src/scroll.c
index cbab971fd35..12c3828b33c 100644
--- a/src/scroll.c
+++ b/src/scroll.c
@@ -264,7 +264,7 @@ do_scrolling (frame, matrix, window_size, unchanged_at_top)
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 @@ scrolling_max_lines_saved (start, end, oldhash, newhash, cost)
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 @@ ins_del_costs (frame,
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,