Deprecate <isc/deprecated.h>
We refactor more freely these days.
This commit is contained in:
@@ -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 \
|
||||
|
||||
@@ -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*/
|
||||
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user