[ntpsec commit] Remove yet more dead ISC code.

Eric S. Raymond esr at ntpsec.org
Tue Oct 20 11:00:50 UTC 2015


Module:    ntpsec
Branch:    master
Commit:    748d9d11a914ec7000d02dc9945af39edf0b67ac
Changeset: http://git.ntpsec.org/ntpsec/commit/?id=748d9d11a914ec7000d02dc9945af39edf0b67ac

Author:    Eric S. Raymond <esr at thyrsus.com>
Date:      Tue Oct 20 07:00:23 2015 -0400

Remove yet more dead ISC code.

---

 lib/isc/include/isc/lib.h     | 29 -----------------------------
 lib/isc/include/isc/os.h      | 26 --------------------------
 lib/isc/include/isc/version.h | 16 ----------------
 lib/isc/result.c              |  1 -
 lib/isc/version.c             | 16 ----------------
 5 files changed, 88 deletions(-)

diff --git a/lib/isc/include/isc/lib.h b/lib/isc/include/isc/lib.h
deleted file mode 100644
index aca0a99..0000000
--- a/lib/isc/include/isc/lib.h
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * Copyright (C) 2004-2007, 2009  Internet Systems Consortium, Inc. ("ISC")
- * Copyright (C) 1999-2001  Internet Software Consortium.
- * Copyright 2015 by the NTPsec project contributors
- * SPDX-License-Identifier: ISC
- */
-
-#ifndef GUARD_ISC_LIB_H
-#define GUARD_ISC_LIB_H 1
-
-/*! \file isc/lib.h */
-
-#include <isc/types.h>
-#include <isc/lang.h>
-
-ISC_LANG_BEGINDECLS
-
-void
-isc_lib_register(void);
-/*!<
- * \brief Register the ISC library implementations for some base services
- * such as memory or event management and handling socket or timer events.
- * An external application that wants to use the ISC library must call this
- * function very early in main().
- */
-
-ISC_LANG_ENDDECLS
-
-#endif /* GUARD_ISC_LIB_H */
diff --git a/lib/isc/include/isc/os.h b/lib/isc/include/isc/os.h
deleted file mode 100644
index c33aab6..0000000
--- a/lib/isc/include/isc/os.h
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * Copyright (C) 2004-2007  Internet Systems Consortium, Inc. ("ISC")
- * Copyright (C) 2000, 2001  Internet Software Consortium.
- * Copyright 2015 by the NTPsec project contributors
- * SPDX-License-Identifier: ISC
- */
-
-#ifndef GUARD_ISC_OS_H
-#define GUARD_ISC_OS_H 1
-
-/*! \file isc/os.h */
-
-#include <isc/lang.h>
-
-ISC_LANG_BEGINDECLS
-
-unsigned int
-isc_os_ncpus(void);
-/*%<
- * Return the number of CPUs available on the system, or 1 if this cannot
- * be determined.
- */
-
-ISC_LANG_ENDDECLS
-
-#endif /* GUARD_ISC_OS_H */
diff --git a/lib/isc/include/isc/version.h b/lib/isc/include/isc/version.h
deleted file mode 100644
index 6b68452..0000000
--- a/lib/isc/include/isc/version.h
+++ /dev/null
@@ -1,16 +0,0 @@
-/*
- * Copyright (C) 2004-2007  Internet Systems Consortium, Inc. ("ISC")
- * Copyright (C) 2001  Internet Software Consortium.
- * Copyright 2015 by the NTPsec project contributors
- * SPDX-License-Identifier: ISC
- */
-
-/*! \file isc/version.h */
-
-#include <isc/platform.h>
-
-LIBISC_EXTERNAL_DATA extern const char isc_version[];
-
-LIBISC_EXTERNAL_DATA extern const unsigned int isc_libinterface;
-LIBISC_EXTERNAL_DATA extern const unsigned int isc_librevision;
-LIBISC_EXTERNAL_DATA extern const unsigned int isc_libage;
diff --git a/lib/isc/result.c b/lib/isc/result.c
index 98386d4..63e7837 100644
--- a/lib/isc/result.c
+++ b/lib/isc/result.c
@@ -12,7 +12,6 @@
 #include <stddef.h>
 #include <stdlib.h>
 
-#include <isc/lib.h>
 #include <isc/once.h>
 #include <isc/resultclass.h>
 #include <isc/util.h>
diff --git a/lib/isc/version.c b/lib/isc/version.c
deleted file mode 100644
index b0dfc28..0000000
--- a/lib/isc/version.c
+++ /dev/null
@@ -1,16 +0,0 @@
-/*
- * Copyright (C) 2004, 2005, 2007  Internet Systems Consortium, Inc. ("ISC")
- * Copyright (C) 1998-2001  Internet Software Consortium.
- * Copyright 2015 by the NTPsec project contributors
- * SPDX-License-Identifier: ISC
- */
-
-/*! \file */
-
-#include <isc/version.h>
-
-const char isc_version[] = VERSION;
-
-const unsigned int isc_libinterface = LIBINTERFACE;
-const unsigned int isc_librevision = LIBREVISION;
-const unsigned int isc_libage = LIBAGE;



More information about the vc mailing list