mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-02 23:55:27 +00:00
removed extraneous includes; style lint
This commit is contained in:
@@ -19,9 +19,6 @@
|
|||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#include <isc/assertions.h>
|
|
||||||
#include <isc/error.h>
|
|
||||||
#include <isc/boolean.h>
|
|
||||||
#include <isc/rwlock.h>
|
#include <isc/rwlock.h>
|
||||||
#include <isc/util.h>
|
#include <isc/util.h>
|
||||||
|
|
||||||
@@ -33,7 +30,8 @@
|
|||||||
static void
|
static void
|
||||||
print_lock(char *operation, isc_rwlock_t *rwl, isc_rwlocktype_t type) {
|
print_lock(char *operation, isc_rwlock_t *rwl, isc_rwlocktype_t type) {
|
||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
"%s(%s): %s, %u active, %u granted, %u rwaiting, %u wwaiting\n",
|
"%s(%s): %s, %u active, %u granted, "
|
||||||
|
"%u rwaiting, %u wwaiting\n",
|
||||||
operation, (type == isc_rwlocktype_read ? "read" : "write"),
|
operation, (type == isc_rwlocktype_read ? "read" : "write"),
|
||||||
(rwl->type == isc_rwlocktype_read ? "reading" : "writing"),
|
(rwl->type == isc_rwlocktype_read ? "reading" : "writing"),
|
||||||
rwl->active, rwl->granted, rwl->readers_waiting,
|
rwl->active, rwl->granted, rwl->readers_waiting,
|
||||||
|
Reference in New Issue
Block a user