summaryrefslogtreecommitdiffstats
path: root/contrib/less/less.h
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2004-04-17 07:16:34 +0000
committertjr <tjr@FreeBSD.org>2004-04-17 07:16:34 +0000
commit44c4d557e2436dfbb703a9fc3e78fac79c574d4b (patch)
treef46d7e51d83360c5b6bdacf5b08e16a415ed61b5 /contrib/less/less.h
parentc0c85bc41cb6c023adae56cf0a7e3495bd528cb2 (diff)
downloadFreeBSD-src-44c4d557e2436dfbb703a9fc3e78fac79c574d4b.zip
FreeBSD-src-44c4d557e2436dfbb703a9fc3e78fac79c574d4b.tar.gz
Import less v381.
Diffstat (limited to 'contrib/less/less.h')
-rw-r--r--contrib/less/less.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/contrib/less/less.h b/contrib/less/less.h
index 333e70a..059a6da 100644
--- a/contrib/less/less.h
+++ b/contrib/less/less.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 1984-2000 Mark Nudelman
+ * Copyright (C) 1984-2002 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.
@@ -154,6 +154,8 @@ void free();
* Special types and constants.
*/
typedef off_t POSITION;
+typedef off_t LINENUM;
+#define MIN_LINENUM_WIDTH 7 /* Min printing width of a line number */
#define NULL_POSITION ((POSITION)(-1))
@@ -231,6 +233,7 @@ typedef union parg
{
char *p_string;
int p_int;
+ LINENUM p_linenum;
} PARG;
#define NULL_PARG ((PARG *)NULL)
@@ -409,3 +412,7 @@ struct textlist
#include "funcs.h"
+/* Functions not included in funcs.h */
+void postoa();
+void linenumtoa();
+void inttoa();
OpenPOWER on IntegriCloud