diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-08-16 23:04:25 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-08-16 23:04:25 +0000 |
commit | 7d593fa69b20a5bf1d8d8b1280a0aacd5296026c (patch) | |
tree | f48d6790a69a5e93ab87beb96fc93e09c1fce5a3 /apropos.c | |
parent | b2a9c33559ec13a867fe90dca3e869e33d088e15 (diff) | |
download | mandoc-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |