1
0
mirror of https://github.com/systemd/systemd.git synced 2025-02-28 05:57:33 +03:00
systemd/coccinelle
Lennart Poettering c10d6bdb89 macro: introduce new TAKE_FD() macro
This is similar to TAKE_PTR() but operates on file descriptors, and thus
assigns -1 to the fd parameter after returning it.

Removes 60 lines from our codebase. Pretty good too I think.
2018-03-22 20:30:40 +01:00
..
2016-10-16 23:35:39 -04:00