summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/less/charset.c2
-rw-r--r--usr.bin/less/cmd.h2
-rw-r--r--usr.bin/less/decode.c4
-rw-r--r--usr.bin/less/less.h2
-rw-r--r--usr.bin/less/main.c6
5 files changed, 8 insertions, 8 deletions
diff --git a/usr.bin/less/charset.c b/usr.bin/less/charset.c
index db4f3cf97bb..caa3f87bf0a 100644
--- a/usr.bin/less/charset.c
+++ b/usr.bin/less/charset.c
@@ -102,7 +102,7 @@ struct cs_alias {
{ "KOI8-R", "koi8-r" },
{ "KOI8-U", "koi8-r" },
{ "GEORGIAN-PS", "georgianps" },
- { "TCVN5712-1", "tcvn" },
+ { "TCVN5712-1", "tcvn" },
{ "NEXTSTEP", "next" },
{ "windows", "windows-1252" }, /* backward compatibility */
{ "CP1251", "windows-1251" },
diff --git a/usr.bin/less/cmd.h b/usr.bin/less/cmd.h
index 947a04e6029..e036ecf04cd 100644
--- a/usr.bin/less/cmd.h
+++ b/usr.bin/less/cmd.h
@@ -90,7 +90,7 @@
#define EC_LEFT 4
#define EC_W_LEFT 5
#define EC_W_RIGHT 6
-#define EC_INSERT 7
+#define EC_INSERT 7
#define EC_DELETE 8
#define EC_HOME 9
#define EC_END 10
diff --git a/usr.bin/less/decode.c b/usr.bin/less/decode.c
index 7f61d8c8b00..006eb07b0d0 100644
--- a/usr.bin/less/decode.c
+++ b/usr.bin/less/decode.c
@@ -178,7 +178,7 @@ static unsigned char moretable[] = {
static unsigned char edittable[] =
{
- '\t', 0, EC_F_COMPLETE, /* TAB */
+ '\t', 0, EC_F_COMPLETE, /* TAB */
'\17', 0, EC_B_COMPLETE, /* BACKTAB */
SK(SK_BACKTAB), 0, EC_B_COMPLETE, /* BACKTAB */
ESC, '\t', 0, EC_B_COMPLETE, /* ESC TAB */
@@ -550,7 +550,7 @@ old_lesskey(char *buf, int len)
/*
* Old-style lesskey file.
* The file must end with either
- * ..,cmd,0,action
+ * ..,cmd,0,action
* or ...,cmd,0,action|A_EXTRA,string,0
* So the last byte or the second to last byte must be zero.
*/
diff --git a/usr.bin/less/less.h b/usr.bin/less/less.h
index bbce60a2817..afca33b123b 100644
--- a/usr.bin/less/less.h
+++ b/usr.bin/less/less.h
@@ -218,7 +218,7 @@ struct textlist
#define CH_KEEPOPEN 002
#define CH_POPENED 004
#define CH_HELPFILE 010
-#define CH_NODATA 020 /* Special case for zero length files */
+#define CH_NODATA 020 /* Special case for zero length files */
#define ch_zero() (0)
diff --git a/usr.bin/less/main.c b/usr.bin/less/main.c
index cb678c85266..c6d290ae88f 100644
--- a/usr.bin/less/main.c
+++ b/usr.bin/less/main.c
@@ -31,7 +31,7 @@ off_t start_attnpos = -1;
off_t end_attnpos = -1;
int wscroll;
-static char *progname;
+static char *progname;
int quitting;
int secure;
@@ -43,8 +43,8 @@ char *namelogfile = NULL;
char *editor;
char *editproto;
-extern char *tags;
-extern char *tagoption;
+extern char *tags;
+extern char *tagoption;
extern int jump_sline;
extern int less_is_more;
extern int missing_cap;