mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 06:15:47 +00:00
socket-util: Move get_null_fd() to daemon.c.
get_null_fd() is only called from daemon.c. It does not need thread safety features anymore as it is called either through daemonize_start() or indirectly through daemonize_complete() once. Signed-off-by: Gurucharan Shetty <gshetty@nicira.com> Acked-by: Ben Pfaff <blp@nicira.com>
This commit is contained in:
@@ -46,7 +46,6 @@ int make_unix_socket(int style, bool nonblock,
|
||||
int get_unix_name_len(socklen_t sun_len);
|
||||
#endif
|
||||
ovs_be32 guess_netmask(ovs_be32 ip);
|
||||
int get_null_fd(void);
|
||||
|
||||
bool inet_parse_active(const char *target, uint16_t default_port,
|
||||
struct sockaddr_storage *ssp);
|
||||
|
Reference in New Issue
Block a user