]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Drop unused headers
authorMichal Nowak <mnowak@isc.org>
Fri, 6 Nov 2020 11:27:41 +0000 (12:27 +0100)
committerMichal Nowak <mnowak@isc.org>
Wed, 11 Nov 2020 09:08:12 +0000 (10:08 +0100)
bin/rndc/include/rndc/os.h [deleted file]
lib/isc/Makefile.am
lib/isc/timer_p.h [deleted file]
lib/isccfg/Makefile.am
lib/isccfg/include/isccfg/dnsconf.h [deleted file]
lib/isccfg/win32/libisccfg.vcxproj.filters.in
lib/isccfg/win32/libisccfg.vcxproj.in
util/copyrights

diff --git a/bin/rndc/include/rndc/os.h b/bin/rndc/include/rndc/os.h
deleted file mode 100644 (file)
index acb50ae..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, you can obtain one at https://mozilla.org/MPL/2.0/.
- *
- * See the COPYRIGHT file distributed with this work for additional
- * information regarding copyright ownership.
- */
-
-/*! \file */
-
-#ifndef RNDC_OS_H
-#define RNDC_OS_H 1
-
-#include <stdio.h>
-
-#include <isc/lang.h>
-
-ISC_LANG_BEGINDECLS
-
-int
-set_user(FILE *fd, const char *user);
-/*%<
- * Set the owner of the file referenced by 'fd' to 'user'.
- * Returns:
- *   0                 success
- *   -1        insufficient permissions, or 'user' does not exist.
- */
-
-ISC_LANG_ENDDECLS
-
-#endif /* ifndef RNDC_OS_H */
index 67408322ccd1ff7b5277f8439d13c85d5b05c973..82eae08351d5e5a06235bd5c81b129c36b5773b2 100644 (file)
@@ -216,8 +216,7 @@ libisc_la_SOURCES =         \
        entropy_private.h       \
        fsaccess_common_p.h     \
        mem_p.h                 \
-       task_p.h                \
-       timer_p.h
+       task_p.h
 
 libisc_la_CPPFLAGS =           \
        $(AM_CPPFLAGS)          \
diff --git a/lib/isc/timer_p.h b/lib/isc/timer_p.h
deleted file mode 100644 (file)
index ac11582..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
- * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, you can obtain one at https://mozilla.org/MPL/2.0/.
- *
- * See the COPYRIGHT file distributed with this work for additional
- * information regarding copyright ownership.
- */
-
-#ifndef ISC_TIMER_P_H
-#define ISC_TIMER_P_H
-
-/*! \file */
-
-isc_result_t
-isc__timermgr_nextevent(isc_timermgr_t *timermgr, isc_time_t *when);
-
-void
-isc__timermgr_dispatch(isc_timermgr_t *timermgr);
-
-#endif /* ISC_TIMER_P_H */
index eb4b7d53d9018e3fcac91e5f708ac6aab951f308..09b8a7065b3fdbc2f52d58d47e5c39b90503064f 100644 (file)
@@ -6,7 +6,6 @@ libisccfg_ladir = $(includedir)/isccfg
 libisccfg_la_HEADERS =                 \
        include/isccfg/aclconf.h        \
        include/isccfg/cfg.h            \
-       include/isccfg/dnsconf.h        \
        include/isccfg/grammar.h        \
        include/isccfg/kaspconf.h       \
        include/isccfg/log.h            \
diff --git a/lib/isccfg/include/isccfg/dnsconf.h b/lib/isccfg/include/isccfg/dnsconf.h
deleted file mode 100644 (file)
index 5878c60..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, you can obtain one at https://mozilla.org/MPL/2.0/.
- *
- * See the COPYRIGHT file distributed with this work for additional
- * information regarding copyright ownership.
- */
-
-#ifndef ISCCFG_DNSCONF_H
-#define ISCCFG_DNSCONF_H 1
-
-/*! \file
- * \brief
- * This module defines the named.conf, rndc.conf, and rndc.key grammars.
- */
-
-#include <isccfg/cfg.h>
-
-/*
- * Configuration object types.
- */
-LIBISCCFG_EXTERNAL_DATA extern cfg_type_t cfg_type_dnsconf;
-/*%< A complete dns.conf file. */
-
-#endif /* ISCCFG_DNSCONF_H */
index 70aebf1879256617482f5450737cb7ef9be451ec..3d2faaf98008945f47401329f84363fe976ae0ac 100644 (file)
@@ -44,9 +44,6 @@
     <ClInclude Include="..\include\isccfg\aclconf.h">
       <Filter>Header Files</Filter>
     </ClInclude>
-    <ClInclude Include="..\include\isccfg\dnsconf.h">
-      <Filter>Header Files</Filter>
-    </ClInclude>
     <ClInclude Include="..\include\isccfg\cfg.h">
       <Filter>Header Files</Filter>
     </ClInclude>
index c828431b5f70ae3f11ac319ae8837674225a9bc0..e92129ed1f0df18180b62c0c5cdd548fbdc7d9bd 100644 (file)
   </ItemGroup>
   <ItemGroup>
     <ClInclude Include="..\include\isccfg\aclconf.h" />
-    <ClInclude Include="..\include\isccfg\dnsconf.h" />
     <ClInclude Include="..\include\isccfg\cfg.h" />
     <ClInclude Include="..\include\isccfg\grammar.h" />
     <ClInclude Include="..\include\isccfg\kaspconf.h" />
index 5b5de94f1c1439d5b93cffd66c1f25e230b64158..1b29c20edf93a6133f52ca15c55305a5a9471d13 100644 (file)
 ./bin/pkcs11/win32/pk11tokens.vcxproj.user     X       2014,2018,2019,2020
 ./bin/plugins/filter-aaaa.c                    C       2018,2019,2020
 ./bin/plugins/filter-aaaa.rst                  RST     2020
-./bin/rndc/include/rndc/os.h                   C       2001,2004,2005,2007,2009,2016,2018,2019,2020
 ./bin/rndc/rndc.c                              C       2000,2001,2002,2003,2004,2005,2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2016,2017,2018,2019,2020
 ./bin/rndc/rndc.conf.rst                       RST     2020
 ./bin/rndc/rndc.rst                            RST     2020
 ./lib/isc/tests/time_test.c                    C       2014,2015,2016,2018,2019,2020
 ./lib/isc/tests/timer_test.c                   C       2018,2019,2020
 ./lib/isc/timer.c                              C       1998,1999,2000,2001,2002,2004,2005,2007,2008,2009,2011,2012,2013,2014,2015,2016,2017,2018,2019,2020
-./lib/isc/timer_p.h                            C       2000,2001,2004,2005,2007,2009,2016,2017,2018,2019,2020
 ./lib/isc/tm.c                                 C       2014,2016,2018,2019,2020
 ./lib/isc/unix/dir.c                           C       1999,2000,2001,2004,2005,2007,2008,2009,2011,2012,2016,2017,2018,2019,2020
 ./lib/isc/unix/errno.c                         C       2016,2018,2019,2020
 ./lib/isccfg/dnsconf.c                         C       2009,2016,2018,2019,2020
 ./lib/isccfg/include/isccfg/aclconf.h          C       1999,2000,2001,2004,2005,2006,2007,2010,2011,2012,2013,2014,2016,2018,2019,2020
 ./lib/isccfg/include/isccfg/cfg.h              C       2000,2001,2002,2004,2005,2006,2007,2010,2013,2014,2015,2016,2018,2019,2020
-./lib/isccfg/include/isccfg/dnsconf.h          C       2009,2016,2018,2019,2020
 ./lib/isccfg/include/isccfg/grammar.h          C       2002,2003,2004,2005,2006,2007,2008,2009,2010,2011,2013,2014,2015,2016,2017,2018,2019,2020
 ./lib/isccfg/include/isccfg/kaspconf.h         C       2019,2020
 ./lib/isccfg/include/isccfg/log.h              C       2001,2004,2005,2006,2007,2009,2016,2018,2019,2020