summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2011-11-13 10:12:05 +0000
committerIngo Schwarze <schwarze@openbsd.org>2011-11-13 10:12:05 +0000
commit120222d1fe68dc5dc2dbd314cdbafe2b0bbed0ab (patch)
treed3603d9e422a736c30e83b766b46522e6de8f418
parent341c5fea045ed3029b82199c23481d39059b8f92 (diff)
downloadmandoc-120222d1fe68dc5dc2dbd314cdbafe2b0bbed0ab.tar.gz
Less misleading file names; ok kristaps@.
-rw-r--r--Makefile12
-rw-r--r--apropos.c2
-rw-r--r--apropos_db.c (renamed from db.c)2
-rw-r--r--apropos_db.h (renamed from apropos.h)0
-rw-r--r--cgi.c2
5 files changed, 9 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index 6f5ca77f..af8e7097 100644
--- a/Makefile
+++ b/Makefile
@@ -278,15 +278,15 @@ PRECONV_LNS = preconv.ln
$(PRECONV_OBJS) $(PRECONV_LNS): config.h
-APROPOS_OBJS = apropos.o db.o
-APROPOS_LNS = apropos.ln db.ln
+APROPOS_OBJS = apropos.o apropos_db.o
+APROPOS_LNS = apropos.ln apropos_db.ln
-$(APROPOS_OBJS) $(APROPOS_LNS): config.h mandoc.h apropos.h
+$(APROPOS_OBJS) $(APROPOS_LNS): config.h mandoc.h apropos_db.h
-CGI_OBJS = cgi.o db.o
-CGI_LNS = cgi.ln db.ln
+CGI_OBJS = cgi.o apropos_db.o
+CGI_LNS = cgi.ln apropos_db.ln
-$(CGI_OBJS) $(CGI_LNS): config.h mandoc.h apropos.h
+$(CGI_OBJS) $(CGI_LNS): config.h mandoc.h apropos_db.h
DEMANDOC_OBJS = demandoc.o
DEMANDOC_LNS = demandoc.ln
diff --git a/apropos.c b/apropos.c
index 33ff1d2c..6f731c4a 100644
--- a/apropos.c
+++ b/apropos.c
@@ -21,7 +21,7 @@
#include <stdlib.h>
#include <string.h>
-#include "apropos.h"
+#include "apropos_db.h"
#include "mandoc.h"
static int cmp(const void *, const void *);
diff --git a/db.c b/apropos_db.c
index c2d13705..30b9217e 100644
--- a/db.c
+++ b/apropos_db.c
@@ -27,7 +27,7 @@
# include <db.h>
#endif
-#include "apropos.h"
+#include "apropos_db.h"
#include "mandoc.h"
enum match {
diff --git a/apropos.h b/apropos_db.h
index a2c90239..a2c90239 100644
--- a/apropos.h
+++ b/apropos_db.h
diff --git a/cgi.c b/cgi.c
index 09128c77..72b7c971 100644
--- a/cgi.c
+++ b/cgi.c
@@ -7,7 +7,7 @@
#include <stdlib.h>
#include <string.h>
-#include "apropos.h"
+#include "apropos_db.h"
#include "mandoc.h"
/*