summaryrefslogtreecommitdiffstatshomepage
path: root/macro.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-03-08 19:32:03 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-03-08 19:32:03 +0000
commit82ebd2e467651cc6ec63d8a1bc9b6e5cedb01410 (patch)
tree334ace4e3affb063a3c1df0ad995850a23af77ff /macro.c
parentdc7c7fae796f0d87b47ae5747a1820e7173380a0 (diff)
downloadmandoc-82ebd2e467651cc6ec63d8a1bc9b6e5cedb01410.tar.gz
mandoc-82ebd2e467651cc6ec63d8a1bc9b6e5cedb01410.tar.zst
mandoc-82ebd2e467651cc6ec63d8a1bc9b6e5cedb01410.zip
Fixed strings.sh to work with NetBSD.
Fixed various lint warnings.
Diffstat (limited to 'macro.c')
-rw-r--r--macro.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/macro.c b/macro.c
index edc19e03..548bc103 100644
--- a/macro.c
+++ b/macro.c
@@ -1,4 +1,4 @@
-/* $Id: macro.c,v 1.59 2009/03/08 18:02:36 kristaps Exp $ */
+/* $Id: macro.c,v 1.60 2009/03/08 19:32:03 kristaps Exp $ */
/*
* Copyright (c) 2008 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -238,7 +238,7 @@ scopewarn(struct mdoc *mdoc, enum mdoc_type type,
n = t = "<root>";
tt = "block";
- switch (p->type) {
+ switch (type) {
case (MDOC_BODY):
tt = "multi-line";
break;