Commit af4252bc authored by Max Kellermann's avatar Max Kellermann

fd_util: make C++ safe

parent 695ffede
......@@ -51,6 +51,10 @@
struct sockaddr;
#ifdef __cplusplus
extern "C" {
#endif
/**
* Wrapper for dup(), which sets the CLOEXEC flag on the new
* descriptor.
......@@ -146,4 +150,8 @@ inotify_init_cloexec(void);
int
close_socket(int fd);
#ifdef __cplusplus
} /* extern "C" */
#endif
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment