diff --git a/common/util.c b/common/util.c index 35fb26468..4a0d6f64b 100644 --- a/common/util.c +++ b/common/util.c @@ -113,8 +113,6 @@ position_fromstr(const char *pos, ssize_t len) return Right; case A_TK_LEFT: return Left; - case A_TK_AUTO: - return Auto; default: return Off; } @@ -133,7 +131,6 @@ position_tostr(position_t p) case Bottom: return "bottom"; case Right: return "right"; case Left: return "left"; - case Auto: return "auto"; default: return "off"; } } diff --git a/common/util.h b/common/util.h index 7d6ade6d8..cba5b5e80 100644 --- a/common/util.h +++ b/common/util.h @@ -42,8 +42,7 @@ typedef enum Top, Bottom, Right, - Left, - Auto + Left } position_t; /** Link a name to a function */