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

@@ -22,6 +22,6 @@
* tools) it must be set to true at runtime. Export library clients
* will call isc_lib_register(), which will set it to false.
*/
LIBISC_EXTERNAL_DATA extern bool isc_bind9;
extern bool isc_bind9;
#endif /* ISC_BIND9_H */

View File

@@ -21,17 +21,17 @@
#include <isc/result.h>
/*% Index into parent argv vector. */
LIBISC_EXTERNAL_DATA extern int isc_commandline_index;
extern int isc_commandline_index;
/*% Character checked for validity. */
LIBISC_EXTERNAL_DATA extern int isc_commandline_option;
extern int isc_commandline_option;
/*% Argument associated with option. */
LIBISC_EXTERNAL_DATA extern char *isc_commandline_argument;
extern char *isc_commandline_argument;
/*% For printing error messages. */
LIBISC_EXTERNAL_DATA extern char *isc_commandline_progname;
extern char *isc_commandline_progname;
/*% Print error message. */
LIBISC_EXTERNAL_DATA extern bool isc_commandline_errprint;
extern bool isc_commandline_errprint;
/*% Reset getopt. */
LIBISC_EXTERNAL_DATA extern bool isc_commandline_reset;
extern bool isc_commandline_reset;
ISC_LANG_BEGINDECLS

View File

@@ -159,9 +159,9 @@ typedef union isc_logdestination {
* definitions with indexes into its isc_logcategory structure corresponding to
* the order of the names.
*/
LIBISC_EXTERNAL_DATA extern isc_logcategory_t isc_categories[];
LIBISC_EXTERNAL_DATA extern isc_log_t * isc_lctx;
LIBISC_EXTERNAL_DATA extern isc_logmodule_t isc_modules[];
extern isc_logcategory_t isc_categories[];
extern isc_log_t * isc_lctx;
extern isc_logmodule_t isc_modules[];
/*@}*/
/*@{*/

View File

@@ -37,8 +37,8 @@ typedef void (*isc_mem_water_t)(void *, int);
#define ISC_MEM_TRACKLINES 0
#endif /* ifndef ISC_MEM_TRACKLINES */
LIBISC_EXTERNAL_DATA extern unsigned int isc_mem_debugging;
LIBISC_EXTERNAL_DATA extern unsigned int isc_mem_defaultflags;
extern unsigned int isc_mem_debugging;
extern unsigned int isc_mem_defaultflags;
/*@{*/
#define ISC_MEM_DEBUGTRACE 0x00000001U

View File

@@ -42,22 +42,6 @@
#define IOV_MAX 1024
#endif
/***
*** Miscellaneous.
***/
/***
*** Windows dll support.
***/
#define LIBISC_EXTERNAL_DATA
#define LIBDNS_EXTERNAL_DATA
#define LIBISCCC_EXTERNAL_DATA
#define LIBISCCFG_EXTERNAL_DATA
#define LIBNS_EXTERNAL_DATA
#define LIBBIND9_EXTERNAL_DATA
#define LIBTESTS_EXTERNAL_DATA
/*
* Tell emacs to use C mode for this file.
*

View File

@@ -68,7 +68,7 @@ typedef enum {
/*%
* Global flag to make choose_slots() verbose
*/
LIBISC_EXTERNAL_DATA extern bool pk11_verbose_init;
extern bool pk11_verbose_init;
/*%
* Function prototypes