mirror of
https://github.com/openvswitch/ovs
synced 2025-08-30 22:05:19 +00:00
socket-util: Move get_max_fds() to process.c.
get_max_fds() is used only from process.c. Move it there along with rlim_is_finite(). Since process_start() can only be called before any additional threads are created, we no longer need the thread safety checks in get_max_fds(). Signed-off-by: Gurucharan Shetty <gshetty@nicira.com> Acked-by: Ben Pfaff <blp@nicira.com>
This commit is contained in:
@@ -31,8 +31,6 @@ int set_nonblocking(int fd);
|
||||
void xset_nonblocking(int fd);
|
||||
int set_dscp(int fd, uint8_t dscp);
|
||||
|
||||
int get_max_fds(void);
|
||||
|
||||
int lookup_ip(const char *host_name, struct in_addr *address);
|
||||
int lookup_ipv6(const char *host_name, struct in6_addr *address);
|
||||
|
||||
|
Reference in New Issue
Block a user