summaryrefslogtreecommitdiff
path: root/usr.bin/mg/buffer.c
diff options
context:
space:
mode:
authorlum <lum@cvs.openbsd.org>2012-03-14 13:56:36 +0000
committerlum <lum@cvs.openbsd.org>2012-03-14 13:56:36 +0000
commit765ad8e4544f22532ce5e20a58eb1b64877ecc2b (patch)
treefcb2d24e2fabf1fd3ecd1659d2f1274ff4b653fd /usr.bin/mg/buffer.c
parente0b5d824208b47eaf3d8e82f8121315977c5d1bb (diff)
Remove the NO_HELP conditional directives. If defined, mg will not compile and
has not done so for numerous years. Not hard to fix, but just remove anyway. ok kjell@ millert@
Diffstat (limited to 'usr.bin/mg/buffer.c')
-rw-r--r--usr.bin/mg/buffer.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/usr.bin/mg/buffer.c b/usr.bin/mg/buffer.c
index 2b863db2d01..0a4254c4e60 100644
--- a/usr.bin/mg/buffer.c
+++ b/usr.bin/mg/buffer.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: buffer.c,v 1.77 2011/01/23 00:45:03 kjell Exp $ */
+/* $OpenBSD: buffer.c,v 1.78 2012/03/14 13:56:35 lum Exp $ */
/* This file is in the public domain. */
@@ -792,10 +792,8 @@ notmodified(int f, int n)
return (TRUE);
}
-#ifndef NO_HELP
/*
- * Popbuf and set all windows to top of buffer. Currently only used by
- * help functions.
+ * Popbuf and set all windows to top of buffer.
*/
int
popbuftop(struct buffer *bp, int flags)
@@ -814,7 +812,6 @@ popbuftop(struct buffer *bp, int flags)
}
return (popbuf(bp, flags) != NULL);
}
-#endif
/*
* Return the working directory for the current buffer, terminated