2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-09-01 06:55:30 +00:00

<isc/log.h> does not need <sys/types.h> or <isc/result.h>

This commit is contained in:
David Lawrence
2000-04-25 23:44:20 +00:00
parent fc4256ffdd
commit c4717613e4
2 changed files with 8 additions and 7 deletions

View File

@@ -1,3 +1,6 @@
91. [cleanup] <isc/log.h> does not need <sys/types.h> or
<isc/result.h>.
90. [cleanup] Removed unneeded ISC_LANG_BEGINDECLS/ISC_LANG_ENDDECLS 90. [cleanup] Removed unneeded ISC_LANG_BEGINDECLS/ISC_LANG_ENDDECLS
from <named/listenlist.h>. from <named/listenlist.h>.

View File

@@ -15,18 +15,16 @@
* SOFTWARE. * SOFTWARE.
*/ */
/* $Id: log.h,v 1.15 2000/04/04 20:08:23 gson Exp $ */ /* $Id: log.h,v 1.16 2000/04/25 23:44:20 tale Exp $ */
#ifndef ISC_LOG_H #ifndef ISC_LOG_H
#define ISC_LOG_H 1 #define ISC_LOG_H 1
#include <syslog.h>
#include <stdio.h> #include <stdio.h>
#include <stdarg.h> #include <stdarg.h>
#include <sys/types.h> #include <syslog.h> /* XXXDCL NT */
#include <isc/lang.h> #include <isc/lang.h>
#include <isc/result.h>
#include <isc/types.h> #include <isc/types.h>
ISC_LANG_BEGINDECLS ISC_LANG_BEGINDECLS
@@ -183,11 +181,11 @@ isc_logconfig_create(isc_log_t *lctx, isc_logconfig_t **lcfgp);
* *
* Four default channels are established: * Four default channels are established:
* default_syslog * default_syslog
* - log to syslog's daemon facility LOG_INFO or higher * - log to syslog's daemon facility ISC_LOG_INFO or higher
* default_stderr * default_stderr
* - log to stderr LOG_INFO or higher * - log to stderr ISC_LOG_INFO or higher
* default_debug * default_debug
* - log to stderr LOG_DEBUG dynamically * - log to stderr ISC_LOG_DEBUG dynamically
* null * null
* - log nothing * - log nothing
* *