summaryrefslogtreecommitdiffstats
path: root/mandocdb.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-12-09 07:29:42 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-12-09 07:29:42 +0000
commit2ff1f9b803f8b8b207c1186c94b6eabd5f9c6865 (patch)
tree2a0bfa9ff020e83ee1bd3e2657b10ed841daaefc /mandocdb.c
parent34905ea59644683368f5f16813c8f450fcd69d86 (diff)
downloadmandoc-2ff1f9b803f8b8b207c1186c94b6eabd5f9c6865.tar.gz
Integrate the makewhatis binary into the mandoc binary
just like we do it on OpenBSD. Smaller and neater. While here, let ./configure set INSTALL_TARGETS.
Diffstat (limited to 'mandocdb.c')
-rw-r--r--mandocdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mandocdb.c b/mandocdb.c
index c5289167..0cb487b1 100644
--- a/mandocdb.c
+++ b/mandocdb.c
@@ -336,7 +336,7 @@ static const struct mdoc_handler mdocs[MDOC_MAX] = {
int
-main(int argc, char *argv[])
+mandocdb(int argc, char *argv[])
{
int ch, i;
size_t j, sz;