=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mg/basic.c,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- src/usr.bin/mg/basic.c 2001/05/23 22:20:34 1.6 +++ src/usr.bin/mg/basic.c 2002/02/08 21:21:11 1.7 @@ -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 @@ * 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 @@ f = FFUNIV; } forwpage(f | FFRAND, n); + return TRUE; } -void +int back1page(f, n) int f, n; { @@ -364,8 +364,8 @@ f = FFUNIV; } backpage(f | FFRAND, n); + return TRUE; } -#endif /* * Page the other window. Check to make sure it exists, then