From: Valentine Krasnobaeva Date: Wed, 10 Jul 2024 10:35:56 +0000 (+0200) Subject: CLEANUP: fd: rm struct rlimit definition X-Git-Tag: v3.1-dev4~111 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=47f2afb4363d46938d2d5a363bf6aef368259c57;p=thirdparty%2Fhaproxy.git CLEANUP: fd: rm struct rlimit definition As raise_rlim_nofile() was moved to limits compilation unit, limits.h includes the system . So, this definition of rlimit system type structure is no longer need for compilation of fd unit. --- diff --git a/include/haproxy/fd.h b/include/haproxy/fd.h index 7b8e8997b2..4ea24975bc 100644 --- a/include/haproxy/fd.h +++ b/include/haproxy/fd.h @@ -81,8 +81,6 @@ ssize_t fd_write_frag_line(int fd, size_t maxlen, const struct ist pfx[], size_t /* close all FDs starting from */ void my_closefrom(int start); -struct rlimit; - int compute_poll_timeout(int next); void fd_leaving_poll(int wait_time, int status);