summaryrefslogtreecommitdiff
path: root/src/accessdb.c
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2007-10-15 14:46:49 +0100
committerColin Watson <cjwatson@debian.org>2007-10-15 14:46:49 +0100
commitfd369ba030e3b438471331b668b823dc02567615 (patch)
tree96406ad1be97c599528aa1ce84a00898a53e3061 /src/accessdb.c
parent480ba1d47a72c96cb2f835c5aaa41e11038e0b9c (diff)
remove attempts at K&R compatibility; such systems are no longer supported by the GNU build system and man-db's support for them was unadvertised and broken anyway
Diffstat (limited to 'src/accessdb.c')
-rw-r--r--src/accessdb.c17
1 files changed, 2 insertions, 15 deletions
diff --git a/src/accessdb.c b/src/accessdb.c
index e05093ad..2e1b5215 100644
--- a/src/accessdb.c
+++ b/src/accessdb.c
@@ -29,21 +29,8 @@
#include <stdio.h>
#include <errno.h>
-
-#ifndef STDC_HEADERS
-extern int errno;
-#endif
-
-#if defined(STDC_HEADERS)
-# include <string.h>
-# include <stdlib.h>
-#elif defined(HAVE_STRING_H)
-# include <string.h>
-#elif defined(HAVE_STRINGS_H)
-# include <strings.h>
-#else /* no string(s) header */
-extern char *strchr();
-#endif /* STDC_HEADERS */
+#include <string.h>
+#include <stdlib.h>
#ifdef HAVE_LIBGEN_H
# include <libgen.h>