summaryrefslogtreecommitdiffstats
path: root/src/fastd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/fastd.h')
-rw-r--r--src/fastd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/fastd.h b/src/fastd.h
index 014bb2f..723b1e7 100644
--- a/src/fastd.h
+++ b/src/fastd.h
@@ -493,4 +493,8 @@ static inline size_t max_size_t(size_t a, size_t b) {
return (a > b) ? a : b;
}
+static inline size_t min_size_t(size_t a, size_t b) {
+ return (a < b) ? a : b;
+}
+
#endif /* _FASTD_FASTD_H_ */