From 8d7f69cf49cf739e6931c35d94cf455f671d1f34 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Tue, 19 Aug 2008 17:34:44 +0200 Subject: [PATCH] util: remove useless position Auto Signed-off-by: Julien Danjou --- common/util.c | 3 --- common/util.h | 3 +-- 2 files changed, 1 insertion(+), 5 deletions(-) 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 */