From e272000cc6129b24a428f8807c749bc253cf5d5d Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Fri, 11 Apr 2008 11:19:53 +0200 Subject: [PATCH] [util] Change Fuzzy type to fuzzy_t Signed-off-by: Julien Danjou --- common/util.c | 2 +- common/util.h | 6 +++--- structs.h | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/common/util.c b/common/util.c index 8fcbe1a9f..293959c20 100644 --- a/common/util.c +++ b/common/util.c @@ -133,7 +133,7 @@ char* a_strndup(const char* src, ssize_t l) return _tmpStr; } -Fuzzy +fuzzy_t fuzzy_get_from_str(const char *str) { if(!a_strcmp(str, "true") || !a_strcmp(str, "yes")) diff --git a/common/util.h b/common/util.h index 8645cf9eb..122af3f15 100644 --- a/common/util.h +++ b/common/util.h @@ -38,13 +38,13 @@ typedef enum Auto } position_t; -/** Fuzzy logic */ +/** fuzzy_t logic */ typedef enum { No = false, Yes = true, Maybe -} Fuzzy; +} fuzzy_t; /** Link a name to a function */ typedef struct @@ -261,7 +261,7 @@ void _warn(int, const char *, const char *, ...) __attribute__ ((format(printf, 3, 4))); position_t position_get_from_str(const char *); -Fuzzy fuzzy_get_from_str(const char *); +fuzzy_t fuzzy_get_from_str(const char *); double compute_new_value_from_arg(const char *, double); void *name_func_lookup(const char *, const name_func_link_t *); diff --git a/structs.h b/structs.h index a787bf37f..b7499d57c 100644 --- a/structs.h +++ b/structs.h @@ -69,8 +69,8 @@ struct rule_t char *icon; char *xprop; int screen; - Fuzzy isfloating; - Fuzzy ismaster; + fuzzy_t isfloating; + fuzzy_t ismaster; titlebar_t titlebar; double opacity; regex_t *prop_r;