Rename symbol set_cloexec to sway_set_cloexec, remove duplicates.

set_cloexec is defined by both sway and wlroots (and who-knows-else),
so rename the sway one for supporting static linkage. We also remove
the duplicate version of this in client/.

Fixes: https://github.com/swaywm/sway/issues/4677
This commit is contained in:
Sheena Artrip 2019-10-28 22:54:16 -07:00 committed by Drew DeVault
parent cf95de9cae
commit 7efb5d4673
6 changed files with 11 additions and 23 deletions

View file

@ -32,6 +32,6 @@ float parse_float(const char *value);
const char *sway_wl_output_subpixel_to_string(enum wl_output_subpixel subpixel);
bool set_cloexec(int fd, bool cloexec);
bool sway_set_cloexec(int fd, bool cloexec);
#endif