2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-09-01 23:25:38 +00:00

apply the modified style

This commit is contained in:
Evan Hunt
2020-02-13 14:44:37 -08:00
parent 0255a97473
commit e851ed0bb5
669 changed files with 35995 additions and 42219 deletions

View File

@@ -38,15 +38,14 @@ LIBDNS_EXTERNAL_DATA unsigned int dns_pps = 0U;
*** Functions
***/
static isc_once_t init_once = ISC_ONCE_INIT;
static isc_mem_t * dns_g_mctx = NULL;
static isc_once_t init_once = ISC_ONCE_INIT;
static isc_mem_t *dns_g_mctx = NULL;
static dns_dbimplementation_t *dbimp = NULL;
static bool initialize_done = false;
static isc_refcount_t references;
static bool initialize_done = false;
static isc_refcount_t references;
static void
initialize(void)
{
initialize(void) {
isc_result_t result;
REQUIRE(initialize_done == false);
@@ -79,8 +78,7 @@ cleanup_mctx:
}
isc_result_t
dns_lib_init(void)
{
dns_lib_init(void) {
isc_result_t result;
/*
@@ -103,8 +101,7 @@ dns_lib_init(void)
}
void
dns_lib_shutdown(void)
{
dns_lib_shutdown(void) {
if (isc_refcount_decrement(&references) == 1) {
dst_lib_destroy();