From 4489fa8893518cc63ddcff221d12572f05ed7b1c Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Thu, 15 Mar 2012 20:39:38 +0000 Subject: Fixed compilation warnings in configuration C tests. Based on a patch by Piotr Sikora. --- auto/os/linux | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'auto/os/linux') diff --git a/auto/os/linux b/auto/os/linux index 0b2173cae..dba11a4bc 100644 --- a/auto/os/linux +++ b/auto/os/linux @@ -52,7 +52,7 @@ ngx_feature_run=yes ngx_feature_incs="#include " ngx_feature_path= ngx_feature_libs= -ngx_feature_test="int efd = 0, fd = 1, n; +ngx_feature_test="int efd = 0; struct epoll_event ee; ee.events = EPOLLIN|EPOLLOUT|EPOLLET; ee.data.ptr = NULL; @@ -142,7 +142,7 @@ ngx_feature_incs="#include " ngx_feature_path= ngx_feature_libs=-lcrypt ngx_feature_test="struct crypt_data cd; - crypt_r(NULL, NULL, &cd);" + crypt_r(\"key\", \"salt\", &cd);" . auto/feature -- cgit