aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/apropos.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-08-16 23:04:25 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-08-16 23:04:25 +0000
commit7d593fa69b20a5bf1d8d8b1280a0aacd5296026c (patch)
treef48d6790a69a5e93ab87beb96fc93e09c1fce5a3 /apropos.c
parentb2a9c33559ec13a867fe90dca3e869e33d088e15 (diff)
downloadmandoc-7d593fa69b20a5bf1d8d8b1280a0aacd5296026c.tar.gz
mandoc-7d593fa69b20a5bf1d8d8b1280a0aacd5296026c.tar.zst
mandoc-7d593fa69b20a5bf1d8d8b1280a0aacd5296026c.zip
When BUILD_DB is active, link apropos(1) into the mandoc binary.
This is the first step on the way to a man(1) implementation. The new ./configure is flexible enough to make this step quite easy.
Diffstat (limited to 'apropos.c')
-rw-r--r--apropos.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apropos.c b/apropos.c
index 0aa988be..505bce88 100644
--- a/apropos.c
+++ b/apropos.c
@@ -1,4 +1,4 @@
-/* $Id: apropos.c,v 1.40 2014/08/10 23:54:41 schwarze Exp $ */
+/* $Id: apropos.c,v 1.41 2014/08/16 23:04:25 schwarze Exp $ */
/*
* Copyright (c) 2012 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2013 Ingo Schwarze <schwarze@openbsd.org>
@@ -33,7 +33,7 @@
int
-main(int argc, char *argv[])
+apropos(int argc, char *argv[])
{
int ch, whatis;
struct mansearch search;