summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-03-27 10:13:16 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-03-27 10:13:16 +0000
commitac31de5ed982876e58850bd26a5055517e50efbb (patch)
tree61d591b4dab5cb2e7b404194cb6cde389e805dc7
parent3d00547941b5d1c4149d94faf88ce7e7c0b9b034 (diff)
downloadmandoc-ac31de5ed982876e58850bd26a5055517e50efbb.tar.gz
Lint fixes.
-rw-r--r--man.h2
-rw-r--r--man_hash.c3
-rw-r--r--man_macro.c2
3 files changed, 4 insertions, 3 deletions
diff --git a/man.h b/man.h
index 55662828..3eea9501 100644
--- a/man.h
+++ b/man.h
@@ -61,7 +61,7 @@ enum mant {
MAN_ami,
MAN_ig,
MAN_dot,
- MAN_MAX,
+ MAN_MAX
};
enum man_type {
diff --git a/man_hash.c b/man_hash.c
index 44b5c9f1..b3d33156 100644
--- a/man_hash.c
+++ b/man_hash.c
@@ -60,7 +60,8 @@ man_hash_init(void)
memset(table, UCHAR_MAX, sizeof(table));
- assert(/* CONSTCOND */ MAN_MAX < UCHAR_MAX);
+ assert(/* LINTED */
+ MAN_MAX < UCHAR_MAX);
for (i = 0; i < MAN_MAX; i++) {
x = man_macronames[i][0];
diff --git a/man_macro.c b/man_macro.c
index 07b4950e..70387fec 100644
--- a/man_macro.c
+++ b/man_macro.c
@@ -28,7 +28,7 @@
enum rew {
REW_REWIND,
REW_NOHALT,
- REW_HALT,
+ REW_HALT
};
static int blk_close(MACRO_PROT_ARGS);