From 47f2afb4363d46938d2d5a363bf6aef368259c57 Mon Sep 17 00:00:00 2001 From: Valentine Krasnobaeva Date: Wed, 10 Jul 2024 12:35:56 +0200 Subject: [PATCH] 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. --- include/haproxy/fd.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/haproxy/fd.h b/include/haproxy/fd.h index 7b8e8997b..4ea24975b 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);