summaryrefslogtreecommitdiffstatshomepage
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
commitb9e783618510e16c5a5f3b9826921a53b7a7980e (patch)
tree1ab19f419af8412991af60bb44da44af7398efbe
parente66e830839cc95617c9c35efb902aefdff06e220 (diff)
downloadmandoc-b9e783618510e16c5a5f3b9826921a53b7a7980e.tar.gz
mandoc-b9e783618510e16c5a5f3b9826921a53b7a7980e.tar.zst
mandoc-b9e783618510e16c5a5f3b9826921a53b7a7980e.zip
Lint fixes.
-rw-r--r--man.h4
-rw-r--r--man_hash.c5
-rw-r--r--man_macro.c4
3 files changed, 7 insertions, 6 deletions
diff --git a/man.h b/man.h
index 947e1efd..cbcbaea9 100644
--- a/man.h
+++ b/man.h
@@ -1,4 +1,4 @@
-/* $Id: man.h,v 1.26 2010/03/24 20:10:53 kristaps Exp $ */
+/* $Id: man.h,v 1.27 2010/03/27 10:13:16 kristaps Exp $ */
/*
* Copyright (c) 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -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 cee44f6e..587baeda 100644
--- a/man_hash.c
+++ b/man_hash.c
@@ -1,4 +1,4 @@
-/* $Id: man_hash.c,v 1.17 2010/03/23 21:50:43 kristaps Exp $ */
+/* $Id: man_hash.c,v 1.18 2010/03/27 10:14:32 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -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 17f61f98..cc6d116c 100644
--- a/man_macro.c
+++ b/man_macro.c
@@ -1,4 +1,4 @@
-/* $Id: man_macro.c,v 1.39 2010/03/27 10:13:16 kristaps Exp $ */
+/* $Id: man_macro.c,v 1.40 2010/03/27 10:14:32 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -28,7 +28,7 @@
enum rew {
REW_REWIND,
REW_NOHALT,
- REW_HALT,
+ REW_HALT
};
static int blk_close(MACRO_PROT_ARGS);