summaryrefslogtreecommitdiffstats
path: root/src/fastd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/fastd.h')
-rw-r--r--src/fastd.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/fastd.h b/src/fastd.h
index 012d532..237af4b 100644
--- a/src/fastd.h
+++ b/src/fastd.h
@@ -358,7 +358,6 @@ static inline int fastd_rand(fastd_context_t *ctx, int min, int max) {
return (r%(max-min) + min);
}
-
#define FASTD_DEFAULT_LOG_LEVEL LL_VERBOSE
@@ -519,4 +518,8 @@ static inline void xor_a(fastd_block128_t *x, const fastd_block128_t *a) {
xor(x, x, a);
}
+static inline bool fastd_true(void) {
+ return true;
+}
+
#endif /* _FASTD_FASTD_H_ */