aboutsummaryrefslogtreecommitdiff
path: root/include/posthaste/utils.h
blob: 603455a0725afc4780d4890d1dbcb7b954f232be (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef POSTHASTE_UTILS_H
#define POSTHASTE_UTILS_H

/* random things not strictly related to anything else */

static inline bool same_id(const char *a, const char *b)
{
	/* I always forget to compare to zero */
	return strcmp(a, b) == 0;
}

#define UNUSED(x) (void)x

#endif /* POSTHASTE_UTILS_H */