mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 22:15:20 +00:00
line 324: remark(1498): no prototype for the call to create_managers
line 383: remark(1498): no prototype for the call to setup line 405: remark(1498): no prototype for the call to cleanup The missing prototypes were added.
This commit is contained in:
@@ -233,7 +233,7 @@ parse_command_line(int argc, char *argv[]) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static isc_result_t
|
static isc_result_t
|
||||||
create_managers() {
|
create_managers(void) {
|
||||||
isc_result_t result;
|
isc_result_t result;
|
||||||
|
|
||||||
result = isc_taskmgr_create(ns_g_mctx, ns_g_cpus, 0, &ns_g_taskmgr);
|
result = isc_taskmgr_create(ns_g_mctx, ns_g_cpus, 0, &ns_g_taskmgr);
|
||||||
@@ -288,7 +288,7 @@ destroy_managers(void) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
setup() {
|
setup(void) {
|
||||||
isc_result_t result;
|
isc_result_t result;
|
||||||
|
|
||||||
ns_os_chroot(ns_g_chrootdir);
|
ns_os_chroot(ns_g_chrootdir);
|
||||||
@@ -346,7 +346,7 @@ setup() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
cleanup() {
|
cleanup(void) {
|
||||||
destroy_managers();
|
destroy_managers();
|
||||||
ns_server_destroy(&ns_g_server);
|
ns_server_destroy(&ns_g_server);
|
||||||
isc_log_write(ns_g_lctx, NS_LOGCATEGORY_GENERAL, NS_LOGMODULE_MAIN,
|
isc_log_write(ns_g_lctx, NS_LOGCATEGORY_GENERAL, NS_LOGMODULE_MAIN,
|
||||||
|
Reference in New Issue
Block a user