FreeBSD 10.0-CURRENT #2: Tue Nov 8 09:30:37 EET 2011
src/os/unix/ngx_files.c:470:1: error: expected parameter declarator
ngx_read_ahead(ngx_fd_t fd, size_t n)
^
src/os/unix/ngx_files.h:280:44: note: expanded from:
#define ngx_read_ahead(fd, n) fcntl(fd, F_READAHEAD, (int) n)
^
/usr/include/fcntl.h:226:21: note: expanded from:
#define F_READAHEAD 15 /* read ahead */
^
src/os/unix/ngx_files.c:470:1: error: expected ')'
src/os/unix/ngx_files.c:470:1: note: to match this '('
ngx_read_ahead(ngx_fd_t fd, size_t n)
^
src/os/unix/ngx_files.h:280:39: note: expanded from:
#define ngx_read_ahead(fd, n) fcntl(fd, F_READAHEAD, (int) n)
^
src/os/unix/ngx_files.c:470:1: error: conflicting types for 'fcntl'
ngx_read_ahead(ngx_fd_t fd, size_t n)
^
src/os/unix/ngx_files.h:280:34: note: expanded from:
#define ngx_read_ahead(fd, n) fcntl(fd, F_READAHEAD, (int) n)
^
/usr/include/fcntl.h:296:5: note: previous declaration is here
int fcntl(int, int, ...);
^
3 errors generated.
*** Error code 1