comparison auto/os/linux @ 4543:51744fa997c7

Fixed compilation warnings in configuration C tests. Based on a patch by Piotr Sikora.
author Ruslan Ermilov <ru@nginx.com>
date Thu, 15 Mar 2012 20:39:38 +0000
parents d620f497c50f
children f31162fefe01
comparison
equal deleted inserted replaced
4542:586969d972b9 4543:51744fa997c7
50 ngx_feature_name="NGX_HAVE_EPOLL" 50 ngx_feature_name="NGX_HAVE_EPOLL"
51 ngx_feature_run=yes 51 ngx_feature_run=yes
52 ngx_feature_incs="#include <sys/epoll.h>" 52 ngx_feature_incs="#include <sys/epoll.h>"
53 ngx_feature_path= 53 ngx_feature_path=
54 ngx_feature_libs= 54 ngx_feature_libs=
55 ngx_feature_test="int efd = 0, fd = 1, n; 55 ngx_feature_test="int efd = 0;
56 struct epoll_event ee; 56 struct epoll_event ee;
57 ee.events = EPOLLIN|EPOLLOUT|EPOLLET; 57 ee.events = EPOLLIN|EPOLLOUT|EPOLLET;
58 ee.data.ptr = NULL; 58 ee.data.ptr = NULL;
59 efd = epoll_create(100); 59 efd = epoll_create(100);
60 if (efd == -1) return 1;" 60 if (efd == -1) return 1;"
140 ngx_feature_run=no 140 ngx_feature_run=no
141 ngx_feature_incs="#include <crypt.h>" 141 ngx_feature_incs="#include <crypt.h>"
142 ngx_feature_path= 142 ngx_feature_path=
143 ngx_feature_libs=-lcrypt 143 ngx_feature_libs=-lcrypt
144 ngx_feature_test="struct crypt_data cd; 144 ngx_feature_test="struct crypt_data cd;
145 crypt_r(NULL, NULL, &cd);" 145 crypt_r(\"key\", \"salt\", &cd);"
146 . auto/feature 146 . auto/feature
147 147
148 148
149 ngx_include="sys/vfs.h"; . auto/include 149 ngx_include="sys/vfs.h"; . auto/include
150 150