summaryrefslogtreecommitdiffstats
path: root/catman.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-02-18 12:24:24 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-02-18 12:24:24 +0000
commitae42c38fbb91db68f7790476f2abeafb2b8a44f7 (patch)
tree7af7dbd83fcde5149a24dda0b9ae3226f08ac7a3 /catman.c
parenta007ea38462fb41a1489e9cb5090c8970db582ab (diff)
downloadmandoc-ae42c38fbb91db68f7790476f2abeafb2b8a44f7.tar.gz
proper test for O_DIRECTORY
Diffstat (limited to 'catman.c')
-rw-r--r--catman.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/catman.c b/catman.c
index 8a3aed3a..871b995b 100644
--- a/catman.c
+++ b/catman.c
@@ -41,10 +41,6 @@
#include <time.h>
#include <unistd.h>
-#ifndef O_DIRECTORY
-#define O_DIRECTORY 0
-#endif
-
int process_manpage(int, int, const char *);
int process_tree(int, int);
void run_mandocd(int, const char *, const char *)