mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-11 05:59:59 -04:00
Change #1042 was incomplete. cfg_categories and cfg_modules need to be
visible outside of the DLL.
This commit is contained in:
parent
d510e8695e
commit
c8b58baa78
2 changed files with 6 additions and 6 deletions
|
|
@ -15,7 +15,7 @@
|
|||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: log.h,v 1.4 2001/10/11 01:07:50 gson Exp $ */
|
||||
/* $Id: log.h,v 1.5 2001/10/16 05:28:14 marka Exp $ */
|
||||
|
||||
#ifndef ISCCFG_LOG_H
|
||||
#define ISCCFG_LOG_H 1
|
||||
|
|
@ -23,8 +23,8 @@
|
|||
#include <isc/lang.h>
|
||||
#include <isc/log.h>
|
||||
|
||||
extern isc_logcategory_t cfg_categories[];
|
||||
extern isc_logmodule_t cfg_modules[];
|
||||
LIBISCCFG_EXTERNAL_DATA extern isc_logcategory_t cfg_categories[];
|
||||
LIBISCCFG_EXTERNAL_DATA extern isc_logmodule_t cfg_modules[];
|
||||
|
||||
#define CFG_LOGCATEGORY_CONFIG (&cfg_categories[0])
|
||||
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: log.c,v 1.2 2001/03/13 03:04:05 gson Exp $ */
|
||||
/* $Id: log.c,v 1.3 2001/10/16 05:28:12 marka Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
|
|
@ -27,7 +27,7 @@
|
|||
* When adding a new category, be sure to add the appropriate
|
||||
* #define to <isccfg/log.h>.
|
||||
*/
|
||||
isc_logcategory_t cfg_categories[] = {
|
||||
LIBISCCFG_EXTERNAL_DATA isc_logcategory_t cfg_categories[] = {
|
||||
{ "config", 0 },
|
||||
{ NULL, 0 }
|
||||
};
|
||||
|
|
@ -36,7 +36,7 @@ isc_logcategory_t cfg_categories[] = {
|
|||
* When adding a new module, be sure to add the appropriate
|
||||
* #define to <isccfg/log.h>.
|
||||
*/
|
||||
isc_logmodule_t cfg_modules[] = {
|
||||
LIBISCCFG_EXTERNAL_DATA isc_logmodule_t cfg_modules[] = {
|
||||
{ "isccfg/parser", 0 },
|
||||
{ NULL, 0 }
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue