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

Megacommit of dozens of files.

Cleanup of redundant/useless header file inclusion.

ISC style lint, primarily for function declarations and standalone
comments -- ie, those that appear on a line without any code, which
should be written as follows:
   /*
    * This is a comment.
    */
This commit is contained in:
David Lawrence
2000-05-08 14:38:29 +00:00
parent 595babf627
commit 1a69a1a78c
318 changed files with 3525 additions and 5094 deletions

View File

@@ -15,19 +15,15 @@
* SOFTWARE.
*/
/* $Id: log.c,v 1.20 2000/05/03 21:11:38 explorer Exp $ */
/* $Id: log.c,v 1.21 2000/05/08 14:34:41 tale Exp $ */
/* Principal Authors: DCL */
#include <config.h>
#include <isc/assertions.h>
#include <isc/log.h>
#include <isc/result.h>
#include <isc/util.h>
#include <dns/log.h>
#include <dns/result.h>
/*
* When adding a new category, be sure to add the appropriate
@@ -75,8 +71,7 @@ isc_logmodule_t dns_modules[] = {
isc_log_t *dns_lctx = NULL;
void
dns_log_init(isc_log_t *lctx)
{
dns_log_init(isc_log_t *lctx) {
REQUIRE(lctx != NULL);
isc_log_registercategories(lctx, dns_categories);
@@ -84,8 +79,7 @@ dns_log_init(isc_log_t *lctx)
}
void
dns_log_setcontext(isc_log_t *lctx)
{
dns_log_setcontext(isc_log_t *lctx) {
REQUIRE(dns_lctx == NULL);
dns_lctx = lctx;