summaryrefslogtreecommitdiffstats
path: root/contrib/less/prompt.c
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2012-06-26 23:17:33 +0000
committerdelphij <delphij@FreeBSD.org>2012-06-26 23:17:33 +0000
commit922d40fed4b7f6bb0aafe327600825f9680ce0e7 (patch)
tree1acc67942c59e279c426e0a72ee0ad94cb0ed3ba /contrib/less/prompt.c
parentbd43c5e6d640101f1bd6cca7e83586ae41e1a065 (diff)
downloadFreeBSD-src-922d40fed4b7f6bb0aafe327600825f9680ce0e7.zip
FreeBSD-src-922d40fed4b7f6bb0aafe327600825f9680ce0e7.tar.gz
MFV: less v449.
Diffstat (limited to 'contrib/less/prompt.c')
-rw-r--r--contrib/less/prompt.c27
1 files changed, 13 insertions, 14 deletions
diff --git a/contrib/less/prompt.c b/contrib/less/prompt.c
index 53e66dc..e1f8e17 100644
--- a/contrib/less/prompt.c
+++ b/contrib/less/prompt.c
@@ -1,13 +1,12 @@
/* $FreeBSD$ */
-/*
- * Copyright (C) 1984-2011 Mark Nudelman
- *
- * You may distribute under the terms of either the GNU General Public
- * License or the Less License, as specified in the README file.
- *
- * For more information about less, or for information on how to
- * contact the author, see the README file.
- */
+/*
+ * Copyright (C) 1984-2012 Mark Nudelman
+ *
+ * You may distribute under the terms of either the GNU General Public
+ * License or the Less License, as specified in the README file.
+ *
+ * For more information, see the README file.
+ */
/*
@@ -394,9 +393,9 @@ protochar(c, where, iseditproto)
* where to resume parsing the string.
* We must keep track of nested IFs and skip them properly.
*/
- static char constant *
+ static constant char *
skipcond(p)
- register char constant *p;
+ register constant char *p;
{
register int iflevel;
@@ -452,7 +451,7 @@ skipcond(p)
/*
* Decode a char that represents a position on the screen.
*/
- static char constant *
+ static constant char *
wherechar(p, wp)
char constant *p;
int *wp;
@@ -478,10 +477,10 @@ wherechar(p, wp)
*/
public char *
pr_expand(proto, maxwidth)
- char constant *proto;
+ constant char *proto;
int maxwidth;
{
- register char constant *p;
+ register constant char *p;
register int c;
int where;
OpenPOWER on IntegriCloud