diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-02-13 10:36:02 -0500 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-02-13 10:36:02 -0500 |
commit | 06e948901a6f70b4d10c90d05a174da0663d1aba (patch) | |
tree | 2c1a82e1252bc1ed09419d43c8cc46263cf186ad /src/basic/fdset.c | |
parent | 91ba5ac7d0196074863ff08f5251689d324a6550 (diff) | |
parent | dd422d1e5b6a62bc634ae22d0627f70d4900814b (diff) |
Merge pull request #2603 from poettering/drop-compat-libs
Some spring cleaning
Diffstat (limited to 'src/basic/fdset.c')
-rw-r--r-- | src/basic/fdset.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/basic/fdset.c b/src/basic/fdset.c index 3674d3ed9d..06f8ecbdbc 100644 --- a/src/basic/fdset.c +++ b/src/basic/fdset.c @@ -94,19 +94,6 @@ int fdset_put(FDSet *s, int fd) { return set_put(MAKE_SET(s), FD_TO_PTR(fd)); } -int fdset_consume(FDSet *s, int fd) { - int r; - - assert(s); - assert(fd >= 0); - - r = fdset_put(s, fd); - if (r <= 0) - safe_close(fd); - - return r; -} - int fdset_put_dup(FDSet *s, int fd) { int copy, r; |