summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2017-07-18 18:04:17 +0300
committerIgor Sysoev <igor@sysoev.ru>2017-07-18 18:04:17 +0300
commit9183ea3f710fe04bbeabed941061cce503eb6968 (patch)
tree9d4d182be04aabec11b5cdd700a5ee13b63754ab
parent9d707800b0c7090424ae6426423041e8755623ce (diff)
downloadunit-9183ea3f710fe04bbeabed941061cce503eb6968.tar.gz
unit-9183ea3f710fe04bbeabed941061cce503eb6968.tar.bz2
Fixed building by Clang.
Diffstat (limited to '')
-rw-r--r--src/nxt_application.h2
-rw-r--r--src/nxt_work_queue.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/nxt_application.h b/src/nxt_application.h
index 460ef8ce..73370806 100644
--- a/src/nxt_application.h
+++ b/src/nxt_application.h
@@ -100,7 +100,7 @@ typedef struct {
} nxt_app_request_t;
-typedef struct nxt_app_parse_ctx_s nxt_app_parse_ctx_t;
+//typedef struct nxt_app_parse_ctx_s nxt_app_parse_ctx_t;
struct nxt_app_parse_ctx_s {
nxt_app_request_t r;
diff --git a/src/nxt_work_queue.h b/src/nxt_work_queue.h
index 9694bfd2..05e222dd 100644
--- a/src/nxt_work_queue.h
+++ b/src/nxt_work_queue.h
@@ -32,7 +32,7 @@ struct nxt_task_s {
* source filters, so the data argument has been introduced and
* is used where appropriate.
*/
-typedef void (*nxt_work_handler_t)(nxt_task_t *task, void *obj, void *data);
+//typedef void (*nxt_work_handler_t)(nxt_task_t *task, void *obj, void *data);
struct nxt_work_s {