aboutsummaryrefslogtreecommitdiff
path: root/bin/ed/undo.c
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2002-02-02 06:36:49 +0000
committerWarner Losh <imp@FreeBSD.org>2002-02-02 06:36:49 +0000
commit7669d0fc4f7d3869e27f94843ca120399a4825e9 (patch)
tree331e1d7f986e20bcd52361067fc4b66cab14b048 /bin/ed/undo.c
parentf9bcb0beb529e74510077ff052839d7ad2817950 (diff)
Notes
Diffstat (limited to 'bin/ed/undo.c')
-rw-r--r--bin/ed/undo.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/bin/ed/undo.c b/bin/ed/undo.c
index 8feb38187e0f..73d488c9d5f0 100644
--- a/bin/ed/undo.c
+++ b/bin/ed/undo.c
@@ -40,10 +40,7 @@ long u_p = 0; /* undo stack pointer */
/* push_undo_stack: return pointer to initialized undo node */
undo_t *
-push_undo_stack(type, from, to)
- int type;
- long from;
- long to;
+push_undo_stack(int type, long from, long to)
{
undo_t *t;
@@ -87,7 +84,7 @@ long u_addr_last = -1; /* if >= 0, undo enabled */
/* pop_undo_stack: undo last change to the editor buffer */
int
-pop_undo_stack()
+pop_undo_stack(void)
{
long n;
long o_current_addr = current_addr;
@@ -136,7 +133,7 @@ pop_undo_stack()
/* clear_undo_stack: clear the undo stack */
void
-clear_undo_stack()
+clear_undo_stack(void)
{
line_t *lp, *ep, *tl;