summaryrefslogtreecommitdiff
path: root/usr.bin/mg/basic.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/mg/basic.c')
-rw-r--r--usr.bin/mg/basic.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/mg/basic.c b/usr.bin/mg/basic.c
index 9712838e5aa..dc2926126e4 100644
--- a/usr.bin/mg/basic.c
+++ b/usr.bin/mg/basic.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: basic.c,v 1.6 2001/05/23 22:20:34 art Exp $ */
+/* $OpenBSD: basic.c,v 1.7 2002/02/08 21:21:11 deraadt Exp $ */
/*
* Basic cursor motion commands.
@@ -341,8 +341,7 @@ backpage(f, n)
* These functions are provided for compatibility with Gosling's Emacs. They
* are used to scroll the display up (or down) one line at a time.
*/
-#ifdef GOSMACS
-void
+int
forw1page(f, n)
int f, n;
{
@@ -352,9 +351,10 @@ forw1page(f, n)
f = FFUNIV;
}
forwpage(f | FFRAND, n);
+ return TRUE;
}
-void
+int
back1page(f, n)
int f, n;
{
@@ -364,8 +364,8 @@ back1page(f, n)
f = FFUNIV;
}
backpage(f | FFRAND, n);
+ return TRUE;
}
-#endif
/*
* Page the other window. Check to make sure it exists, then