X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fshared%2Fmacro.h;h=c7ce7c87d096079fdc1ff0f6c3a60582a2407197;hb=e98055de981b568c31f18f470181ae166b56f172;hp=f8c5656538ac9c41f341f4dabaffd73cca74feec;hpb=a05f97b3ac590bc313e8c9d1613d06de0bf28ae2;p=elogind.git diff --git a/src/shared/macro.h b/src/shared/macro.h index f8c565653..c7ce7c87d 100644 --- a/src/shared/macro.h +++ b/src/shared/macro.h @@ -191,5 +191,6 @@ static inline size_t IOVEC_INCREMENT(struct iovec *i, unsigned n, size_t k) { #define _cleanup_fclose_ __attribute__((cleanup(fclosep))) #define _cleanup_close_ __attribute__((cleanup(closep))) #define _cleanup_closedir_ __attribute__((cleanup(closedirp))) +#define _cleanup_umask_ __attribute__((cleanup(umaskp))) #include "log.h"