chiark / gitweb /
taint: add missing cgroups taint flag
[elogind.git] / src / util.h
index 192ebff1fae4eb87dd19e90c17ca30579ff98841..04afc731e9d29f1d48fb518ee78cefb17f0fc856 100644 (file)
@@ -83,6 +83,9 @@ struct timespec *timespec_store(struct timespec *ts, usec_t u);
 usec_t timeval_load(const struct timeval *tv);
 struct timeval *timeval_store(struct timeval *tv, usec_t u);
 
+size_t page_size(void);
+#define PAGE_ALIGN(l) ALIGN_TO((l), page_size())
+
 #define streq(a,b) (strcmp((a),(b)) == 0)
 #define strneq(a, b, n) (strncmp((a), (b), (n)) == 0)