remove references to methods and app_api.c

This commit is contained in:
Evan Hunt
2018-10-18 23:59:18 -07:00
parent e8194526f4
commit 3f35ab8567
2 changed files with 3 additions and 5 deletions

View File

@@ -449,10 +449,12 @@ isc_app_ctxrun(isc_appctx_t *ctx0) {
isc_result_t
isc_app_run(void) {
isc_result_t result;
is_running = true;
result = isc_app_ctxrun((isc_appctx_t *)&isc_g_appctx);
is_running = false;
return result;
return (result);
}
bool

View File

@@ -123,7 +123,6 @@ isc_result_t
isc_app_start(void) {
isc_g_appctx.common.impmagic = APPCTX_MAGIC;
isc_g_appctx.common.magic = ISCAPI_APPCTX_MAGIC;
isc_g_appctx.common.methods = &appmethods.methods;
isc_g_appctx.mctx = NULL;
/* The remaining members will be initialized in ctxstart() */
@@ -370,7 +369,6 @@ isc_appctx_create(isc_mem_t *mctx, isc_appctx_t **ctxp) {
ctx->common.impmagic = APPCTX_MAGIC;
ctx->common.magic = ISCAPI_APPCTX_MAGIC;
ctx->common.methods = &appmethods.methods;
ctx->mctx = NULL;
isc_mem_attach(mctx, &ctx->mctx);
@@ -423,5 +421,3 @@ isc_appctx_settimermgr(isc_appctx_t *ctx0, isc_timermgr_t *timermgr) {
ctx->timermgr = timermgr;
}
#include "../app_api.c"