From b286e956517d5a3166df888f5acb5c77523cd1db Mon Sep 17 00:00:00 2001 From: Tony Finch Date: Fri, 16 Dec 2022 11:31:08 +0000 Subject: [PATCH] Deprecate We refactor more freely these days. --- lib/isc/Makefile.am | 1 - lib/isc/include/isc/deprecated.h | 20 -------------------- lib/isc/include/isc/util.h | 5 ----- 3 files changed, 26 deletions(-) delete mode 100644 lib/isc/include/isc/deprecated.h diff --git a/lib/isc/Makefile.am b/lib/isc/Makefile.am index 8aa6779dbe..de3f1b4b8f 100644 --- a/lib/isc/Makefile.am +++ b/lib/isc/Makefile.am @@ -23,7 +23,6 @@ libisc_la_HEADERS = \ include/isc/condition.h \ include/isc/counter.h \ include/isc/crc64.h \ - include/isc/deprecated.h \ include/isc/dir.h \ include/isc/endian.h \ include/isc/entropy.h \ diff --git a/lib/isc/include/isc/deprecated.h b/lib/isc/include/isc/deprecated.h deleted file mode 100644 index c83508d45f..0000000000 --- a/lib/isc/include/isc/deprecated.h +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright (C) Internet Systems Consortium, Inc. ("ISC") - * - * SPDX-License-Identifier: MPL-2.0 - * - * 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. - */ - -#pragma once - -#if (__GNUC__ + 0) > 3 -#define ISC_DEPRECATED __attribute__((deprecated)) -#else /* if (__GNUC__ + 0) > 3 */ -#define ISC_DEPRECATED /* none */ -#endif /* __GNUC__ > 3*/ diff --git a/lib/isc/include/isc/util.h b/lib/isc/include/isc/util.h index f24a8da2d5..cd9ce67eb2 100644 --- a/lib/isc/include/isc/util.h +++ b/lib/isc/include/isc/util.h @@ -373,11 +373,6 @@ mock_assert(const int result, const char *const expression, #define ISC_ALIGN(x, a) (((x) + (a)-1) & ~((uintmax_t)(a)-1)) #endif /* ifdef __GNUC__ */ -/*% - * Misc - */ -#include - /*% * Swap */