Deprecate <isc/deprecated.h>

We refactor more freely these days.
This commit is contained in:
Tony Finch
2022-12-16 14:13:47 +00:00
committed by Tony Finch
parent 21fdaf27ae
commit b286e95651
3 changed files with 0 additions and 26 deletions
-1
View File
@@ -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 \
-20
View File
@@ -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*/
-5
View File
@@ -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 <isc/deprecated.h>
/*%
* Swap
*/