2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

Remove LIB<*>_EXTERNAL_DATA defines

After Windows has been removed, the LIB<*>_EXTERNAL_DATA defines
were just dummy leftovers.  Remove them.
This commit is contained in:
Ondřej Surý
2021-06-10 08:06:48 +02:00
committed by Ondřej Surý
parent e204b5c413
commit d881e30b0a
42 changed files with 303 additions and 374 deletions

View File

@@ -178,21 +178,19 @@ static const int syslog_map[] = { LOG_DEBUG, LOG_INFO, LOG_NOTICE,
* be overridden. Since the default is always looked up as the first
* channellist in the log context, it must come first in isc_categories[].
*/
LIBISC_EXTERNAL_DATA isc_logcategory_t isc_categories[] = { { "default",
0 }, /* "default
must come
first. */
{ "general", 0 },
{ NULL, 0 } };
isc_logcategory_t isc_categories[] = { { "default", 0 }, /* "default
must come
first. */
{ "general", 0 },
{ NULL, 0 } };
/*!
* See above comment for categories on LIBISC_EXTERNAL_DATA, and apply it to
* modules.
* See above comment for categories, and apply it to modules.
*/
LIBISC_EXTERNAL_DATA isc_logmodule_t isc_modules[] = {
{ "socket", 0 }, { "time", 0 }, { "interface", 0 }, { "timer", 0 },
{ "file", 0 }, { "netmgr", 0 }, { "other", 0 }, { NULL, 0 }
};
isc_logmodule_t isc_modules[] = { { "socket", 0 }, { "time", 0 },
{ "interface", 0 }, { "timer", 0 },
{ "file", 0 }, { "netmgr", 0 },
{ "other", 0 }, { NULL, 0 } };
/*!
* This essentially constant structure must be filled in at run time,
@@ -204,7 +202,7 @@ static isc_logchannellist_t default_channel;
/*!
* libisc logs to this context.
*/
LIBISC_EXTERNAL_DATA isc_log_t *isc_lctx = NULL;
isc_log_t *isc_lctx = NULL;
/*!
* Forward declarations.