summaryrefslogtreecommitdiff
path: root/utils.h
blob: b214d5d77f46858406aeae3c09df1fab54ff408d (plain)
1
2
3
4
5
6
7
8
9
10
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 */