diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-09-14 10:24:27 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-09-14 10:24:27 +0200 |
commit | a05f97b3ac590bc313e8c9d1613d06de0bf28ae2 (patch) | |
tree | c4b980a222b8512a5dc20d462e6f9bdbcaf6113e /src/shared/macro.h | |
parent | e67f47e55b850c2a3a52c550726b1fd7394f9276 (diff) |
util: various additional modernizations
Diffstat (limited to 'src/shared/macro.h')
-rw-r--r-- | src/shared/macro.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/macro.h b/src/shared/macro.h index eb9a8c0a72..f8c5656538 100644 --- a/src/shared/macro.h +++ b/src/shared/macro.h @@ -190,5 +190,6 @@ static inline size_t IOVEC_INCREMENT(struct iovec *i, unsigned n, size_t k) { #define _cleanup_free_ __attribute__((cleanup(freep))) #define _cleanup_fclose_ __attribute__((cleanup(fclosep))) #define _cleanup_close_ __attribute__((cleanup(closep))) +#define _cleanup_closedir_ __attribute__((cleanup(closedirp))) #include "log.h" |