diff options
| author | Ruslan Ermilov <ru@nginx.com> | 2012-03-15 20:39:38 +0000 |
|---|---|---|
| committer | Ruslan Ermilov <ru@nginx.com> | 2012-03-15 20:39:38 +0000 |
| commit | 4489fa8893518cc63ddcff221d12572f05ed7b1c (patch) | |
| tree | ea629a2febbfe3095644871a5915dc0ac2de3c89 /auto/os/linux | |
| parent | 5d1d368cf4e027335672d07afe11585e999c1fd7 (diff) | |
| download | nginx-4489fa8893518cc63ddcff221d12572f05ed7b1c.tar.gz nginx-4489fa8893518cc63ddcff221d12572f05ed7b1c.tar.bz2 | |
Fixed compilation warnings in configuration C tests.
Based on a patch by Piotr Sikora.
Diffstat (limited to 'auto/os/linux')
| -rw-r--r-- | auto/os/linux | 4 |
1 files changed, 2 insertions, 2 deletions
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 <sys/epoll.h>" 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 <crypt.h>" 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 |
