From ac9256594cc5647ab6fb299a4675aea3da2ecf93 Mon Sep 17 00:00:00 2001 From: Love Hornquist Astrand Date: Mon, 23 Nov 2009 09:06:22 -0800 Subject: [PATCH] move out loop from here --- kcm/connect.c | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/kcm/connect.c b/kcm/connect.c index 8147f265f..f5ed845f6 100644 --- a/kcm/connect.c +++ b/kcm/connect.c @@ -34,9 +34,8 @@ */ #include "kcm_locl.h" -#include -static void +void kcm_service(void *ctx, const heim_idata *req, const heim_icred cred, heim_ipc_complete complete, @@ -83,13 +82,3 @@ kcm_service(void *ctx, const heim_idata *req, (*complete)(cctx, ret, &rep); krb5_data_free(&rep); } - -void -kcm_loop(void) -{ - heim_sipc mach; - heim_sipc_launchd_mach_init("org.h5l.kcm", kcm_service, NULL, &mach); - - heim_ipc_main(); -} -