summaryrefslogtreecommitdiff
path: root/misc.h
diff options
context:
space:
mode:
Diffstat (limited to 'misc.h')
-rw-r--r--misc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/misc.h b/misc.h
index 4a05db2da..5db594b91 100644
--- a/misc.h
+++ b/misc.h
@@ -188,6 +188,8 @@ struct notifier_ctx *notify_start(int, const char *, ...)
188 __attribute__((format(printf, 2, 3))); 188 __attribute__((format(printf, 2, 3)));
189void notify_complete(struct notifier_ctx *); 189void notify_complete(struct notifier_ctx *);
190 190
191int secure_permissions(struct stat *st, uid_t uid);
192
191#define MINIMUM(a, b) (((a) < (b)) ? (a) : (b)) 193#define MINIMUM(a, b) (((a) < (b)) ? (a) : (b))
192#define MAXIMUM(a, b) (((a) > (b)) ? (a) : (b)) 194#define MAXIMUM(a, b) (((a) > (b)) ? (a) : (b))
193#define ROUNDUP(x, y) ((((x)+((y)-1))/(y))*(y)) 195#define ROUNDUP(x, y) ((((x)+((y)-1))/(y))*(y))