X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fshared%2Fmacro.h;h=b307dedaa8bd6fc5fa379f5b715e6e97df7eaa0e;hb=e985665d2d226cb42b52bfcad6fd5b1586ad57d7;hp=29d91392f8abc3848a3f454307ea9560f36a3a73;hpb=bac3c8eefe23a820caac930d41629cebafbfc7b2;p=elogind.git diff --git a/src/shared/macro.h b/src/shared/macro.h index 29d91392f..b307dedaa 100644 --- a/src/shared/macro.h +++ b/src/shared/macro.h @@ -196,6 +196,7 @@ 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_pclose_ __attribute__((cleanup(pclosep))) #define _cleanup_close_ __attribute__((cleanup(closep))) #define _cleanup_closedir_ __attribute__((cleanup(closedirp))) #define _cleanup_umask_ __attribute__((cleanup(umaskp)))