util: remove useless position Auto

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-08-19 17:34:44 +02:00
parent c5dfc8a40a
commit 8d7f69cf49
2 changed files with 1 additions and 5 deletions

View File

@ -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";
}
}

View File

@ -42,8 +42,7 @@ typedef enum
Top,
Bottom,
Right,
Left,
Auto
Left
} position_t;
/** Link a name to a function */