summaryrefslogtreecommitdiff
path: root/misc.h
diff options
context:
space:
mode:
Diffstat (limited to 'misc.h')
-rw-r--r--misc.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/misc.h b/misc.h
index ef375577c..8f954198b 100644
--- a/misc.h
+++ b/misc.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: misc.h,v 1.58 2016/08/27 04:05:12 guenther Exp $ */ 1/* $OpenBSD: misc.h,v 1.59 2016/09/12 01:22:38 deraadt Exp $ */
2 2
3/* 3/*
4 * Author: Tatu Ylonen <ylo@cs.hut.fi> 4 * Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -141,4 +141,8 @@ char *read_passphrase(const char *, int);
141int ask_permission(const char *, ...) __attribute__((format(printf, 1, 2))); 141int ask_permission(const char *, ...) __attribute__((format(printf, 1, 2)));
142int read_keyfile_line(FILE *, const char *, char *, size_t, u_long *); 142int read_keyfile_line(FILE *, const char *, char *, size_t, u_long *);
143 143
144#define MINIMUM(a, b) (((a) < (b)) ? (a) : (b))
145#define MAXIMUM(a, b) (((a) > (b)) ? (a) : (b))
146#define ROUNDUP(x, y) ((((x)+((y)-1))/(y))*(y))
147
144#endif /* _MISC_H */ 148#endif /* _MISC_H */