Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
boolean sort_items = false;
const char *period_env;
- if (util_strncmp(env, "simple,", 7) == 0) {
+ if (strncmp(env, "simple,", 7) == 0) {
hud->simple = true;
env += 7;
}
return 0;
}
+#define strncmp util_strncmp
static inline int
util_strncmp(const char *s1, const char *s2, size_t n)
{
#define util_vasprintf vasprintf
#define util_sprintf sprintf
#define util_strcmp strcmp
-#define util_strncmp strncmp
#define util_strcasecmp strcasecmp
#endif