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 ab94a79c0..b34c798e7 100644
--- a/misc.h
+++ b/misc.h
@@ -192,6 +192,8 @@ struct notifier_ctx *notify_start(int, const char *, ...)
192 __attribute__((format(printf, 2, 3))); 192 __attribute__((format(printf, 2, 3)));
193void notify_complete(struct notifier_ctx *); 193void notify_complete(struct notifier_ctx *);
194 194
195int secure_permissions(struct stat *st, uid_t uid);
196
195#define MINIMUM(a, b) (((a) < (b)) ? (a) : (b)) 197#define MINIMUM(a, b) (((a) < (b)) ? (a) : (b))
196#define MAXIMUM(a, b) (((a) > (b)) ? (a) : (b)) 198#define MAXIMUM(a, b) (((a) > (b)) ? (a) : (b))
197#define ROUNDUP(x, y) ((((x)+((y)-1))/(y))*(y)) 199#define ROUNDUP(x, y) ((((x)+((y)-1))/(y))*(y))