From fa7a8dcbeb8a5786b680221b9a5a9fa4a39dac5f Mon Sep 17 00:00:00 2001 From: Ilia Maslakov Date: Mon, 3 Sep 2012 11:31:46 +0400 Subject: [PATCH] removed obsolete params from edit_push_undo_action/edit_push_redo_action Signed-off-by: Ilia Maslakov --- src/editor/edit-impl.h | 4 ++-- src/editor/edit.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/editor/edit-impl.h b/src/editor/edit-impl.h index e58783c83..2e56b78a9 100644 --- a/src/editor/edit-impl.h +++ b/src/editor/edit-impl.h @@ -215,8 +215,8 @@ int edit_delete (WEdit * edit, const int byte_delete); int edit_backspace (WEdit * edit, const int byte_delete); void edit_insert (WEdit * edit, int c); void edit_cursor_move (WEdit * edit, off_t increment); -void edit_push_undo_action (WEdit * edit, long c, ...); -void edit_push_redo_action (WEdit * edit, long c, ...); +void edit_push_undo_action (WEdit * edit, long c); +void edit_push_redo_action (WEdit * edit, long c); void edit_push_key_press (WEdit * edit); void edit_insert_ahead (WEdit * edit, int c); off_t edit_write_stream (WEdit * edit, FILE * f); diff --git a/src/editor/edit.c b/src/editor/edit.c index 0f3926b94..1da96c1c3 100644 --- a/src/editor/edit.c +++ b/src/editor/edit.c @@ -2447,7 +2447,7 @@ edit_set_codeset (WEdit * edit) */ void -edit_push_undo_action (WEdit * edit, long c, ...) +edit_push_undo_action (WEdit * edit, long c) { unsigned long sp = edit->undo_stack_pointer; unsigned long spm1; @@ -2534,7 +2534,7 @@ edit_push_undo_action (WEdit * edit, long c, ...) } void -edit_push_redo_action (WEdit * edit, long c, ...) +edit_push_redo_action (WEdit * edit, long c) { unsigned long sp = edit->redo_stack_pointer; unsigned long spm1;