diff options
author | Sheena Artrip <sheena.artrip@gmail.com> | 2019-10-28 22:54:16 -0700 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-11-01 12:41:08 -0400 |
commit | 7efb5d467368ea9168cebc2473bc3c6942e031bb (patch) | |
tree | 2d707d7d6c85453fdc187ecd5e8c8cda34493300 /include/util.h | |
parent | focus: add a NULL check in `focus <direction>` (diff) | |
download | sway-7efb5d467368ea9168cebc2473bc3c6942e031bb.tar.gz sway-7efb5d467368ea9168cebc2473bc3c6942e031bb.tar.zst sway-7efb5d467368ea9168cebc2473bc3c6942e031bb.zip |
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
Diffstat (limited to 'include/util.h')
-rw-r--r-- | include/util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/util.h b/include/util.h index 6d9454e0..3cba49f0 100644 --- a/include/util.h +++ b/include/util.h | |||
@@ -32,6 +32,6 @@ float parse_float(const char *value); | |||
32 | 32 | ||
33 | const char *sway_wl_output_subpixel_to_string(enum wl_output_subpixel subpixel); | 33 | const char *sway_wl_output_subpixel_to_string(enum wl_output_subpixel subpixel); |
34 | 34 | ||
35 | bool set_cloexec(int fd, bool cloexec); | 35 | bool sway_set_cloexec(int fd, bool cloexec); |
36 | 36 | ||
37 | #endif | 37 | #endif |