From a4d50d3ddff3af83a6234e56f8973d27e4559fb1 Mon Sep 17 00:00:00 2001 From: Joris Vink Date: Fri, 31 Oct 2014 10:14:47 +0100 Subject: [PATCH] Remove the my_callback example. Deprecated. --- examples/generic/src/example.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/examples/generic/src/example.c b/examples/generic/src/example.c index 3ad95eb..4530382 100644 --- a/examples/generic/src/example.c +++ b/examples/generic/src/example.c @@ -32,7 +32,6 @@ int serve_params_test(struct http_request *); int serve_private(struct http_request *); int serve_private_test(struct http_request *); -void my_callback(void); int v_example_func(struct http_request *, char *); int v_session_validate(struct http_request *, char *); void test_base64(u_int8_t *, u_int32_t, struct kore_buf *); @@ -319,15 +318,6 @@ serve_private_test(struct http_request *req) return (KORE_RESULT_OK); } -void -my_callback(void) -{ - if (worker != NULL) - kore_log(LOG_NOTICE, "running on worker %d", worker->id); - else - kore_log(LOG_NOTICE, "running from parent"); -} - int v_example_func(struct http_request *req, char *data) {