if (str == NULL)
result = dfault;
- else if (!util_strcmp(str, "n"))
+ else if (!strcmp(str, "n"))
result = FALSE;
- else if (!util_strcmp(str, "no"))
+ else if (!strcmp(str, "no"))
result = FALSE;
- else if (!util_strcmp(str, "0"))
+ else if (!strcmp(str, "0"))
result = FALSE;
- else if (!util_strcmp(str, "f"))
+ else if (!strcmp(str, "f"))
result = FALSE;
- else if (!util_strcmp(str, "F"))
+ else if (!strcmp(str, "F"))
result = FALSE;
- else if (!util_strcmp(str, "false"))
+ else if (!strcmp(str, "false"))
result = FALSE;
- else if (!util_strcmp(str, "FALSE"))
+ else if (!strcmp(str, "FALSE"))
result = FALSE;
else
result = TRUE;
}
/* OPTION=all */
- if (!util_strcmp(str, "all")) {
+ if (!strcmp(str, "all")) {
return TRUE;
}
str = os_get_option(name);
if (!str)
result = dfault;
- else if (!util_strcmp(str, "help")) {
+ else if (!strcmp(str, "help")) {
result = dfault;
_debug_printf("%s: help for %s:\n", __FUNCTION__, name);
for (; flags->name; ++flags)
return dst;
}
+#define strcmp util_strcmp
static inline int
util_strcmp(const char *s1, const char *s2)
{
#define util_snprintf snprintf
#define util_vasprintf vasprintf
#define util_sprintf sprintf
-#define util_strcmp strcmp
#endif