diff options
Diffstat (limited to 'utils.h')
-rw-r--r-- | utils.h | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -0,0 +1,11 @@ +#ifndef UTILS_H +#define UTILS_H + +// min: get minimum of 'a' and 'b' +int min_int(int a, int b); +size_t min_size_t(size_t a, size_t b); +// max: get maximum of 'a' and 'b' +int max_int(int a, int b); +size_t max_size_t(size_t a, size_t b); + +#endif /* UTILS_H */ |