From 58b2b9f4741e56383779973cc412ca087987b114 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Sun, 13 Nov 2011 10:49:57 +0000 Subject: Inventing new keywords for mostly the same thing when a well-established set of keywords already exists is a bad idea, so reuse the mdoc(7) macro names as apropos(1) search types. This is a gain in brevity as well. Some time ago, kristaps@ agreed in principle. The search type bit field constants are used by both mandocdb(8) and apropos(1) and should better stay in sync, so give them their own header file. --- cgi.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'cgi.c') diff --git a/cgi.c b/cgi.c index 67ad47bb..b6ded9ff 100644 --- a/cgi.c +++ b/cgi.c @@ -1,4 +1,4 @@ -/* $Id: cgi.c,v 1.3 2011/11/13 10:12:05 schwarze Exp $ */ +/* $Id: cgi.c,v 1.4 2011/11/13 10:49:57 schwarze Exp $ */ #include #include #include @@ -7,8 +7,9 @@ #include #include -#include "apropos_db.h" #include "mandoc.h" +#include "mandocdb.h" +#include "apropos_db.h" /* * The page a request is trying to make. -- cgit v1.2.3