aboutsummaryrefslogtreecommitdiffstatshomepage
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
commit634723ea3f0d1959630822e288b230b77961eb92 (patch)
treebe72f1e4e2a55a26ca1c5d7fa15d61dbfb76b663
parent7d28b5a250882f9315a7a52bc5289e7a3cd2762f (diff)
downloadmandoc-634723ea3f0d1959630822e288b230b77961eb92.tar.gz
mandoc-634723ea3f0d1959630822e288b230b77961eb92.tar.zst
mandoc-634723ea3f0d1959630822e288b230b77961eb92.zip
Less misleading file names; ok kristaps@.
-rw-r--r--Makefile12
-rw-r--r--apropos.c4
-rw-r--r--apropos_db.c (renamed from db.c)4
-rw-r--r--apropos_db.h (renamed from apropos.h)2
-rw-r--r--cgi.c4
5 files changed, 13 insertions, 13 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 6bb5b7a9..987bec6d 100644
--- a/apropos.c
+++ b/apropos.c
@@ -1,4 +1,4 @@
-/* $Id: apropos.c,v 1.10 2011/11/09 22:05:56 kristaps Exp $ */
+/* $Id: apropos.c,v 1.11 2011/11/13 10:12:05 schwarze Exp $ */
/*
* Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -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 d7d08247..8ec6130e 100644
--- a/db.c
+++ b/apropos_db.c
@@ -1,4 +1,4 @@
-/* $Id: db.c,v 1.3 2011/11/09 23:31:36 kristaps Exp $ */
+/* $Id: apropos_db.c,v 1.1 2011/11/13 10:12:05 schwarze Exp $ */
/*
* Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -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 16ebcda2..fd37931c 100644
--- a/apropos.h
+++ b/apropos_db.h
@@ -1,4 +1,4 @@
-/* $Id: apropos.h,v 1.2 2011/11/09 22:05:56 kristaps Exp $ */
+/* $Id: apropos_db.h,v 1.1 2011/11/13 10:12:05 schwarze Exp $ */
/*
* Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv>
*
diff --git a/cgi.c b/cgi.c
index a596254a..67ad47bb 100644
--- a/cgi.c
+++ b/cgi.c
@@ -1,4 +1,4 @@
-/* $Id: cgi.c,v 1.2 2011/11/09 22:05:56 kristaps Exp $ */
+/* $Id: cgi.c,v 1.3 2011/11/13 10:12:05 schwarze Exp $ */
#include <assert.h>
#include <fcntl.h>
#include <regex.h>
@@ -7,7 +7,7 @@
#include <stdlib.h>
#include <string.h>
-#include "apropos.h"
+#include "apropos_db.h"
#include "mandoc.h"
/*