diff --git a/common/util.c b/common/util.c
index c23396d6..55978a20 100644
--- a/common/util.c
+++ b/common/util.c
@@ -56,36 +56,6 @@ _warn(int line, const char *fct, const char *fmt, ...)
fprintf(stderr, "\n");
}
-/** Get a orientation type from a string.
- * \param pos The orientation.
- * \return A orientation.
- */
-orientation_t
-orientation_fromstr(const char *pos)
-{
- if(a_strcmp(pos, "south") == 0)
- return South;
- if(a_strcmp(pos, "east") == 0)
- return East;
- return North;
-}
-
-/** Convert a orientation type to a string.
- * \param p The orientation.
- * \return A orientation string.
- */
-const char *
-orientation_tostr(orientation_t p)
-{
- switch(p)
- {
- case North: return "north";
- case South: return "south";
- case East: return "east";
- default: return NULL;
- }
-}
-
/** \brief safe limited strcpy.
*
* Copies at most min(n-1, \c l) characters from \c src into \c dst,
diff --git a/common/util.h b/common/util.h
index 0a40c344..cf549a7a 100644
--- a/common/util.h
+++ b/common/util.h
@@ -36,13 +36,6 @@
#include
#endif
-typedef enum
-{
- East = 0,
- South,
- North,
-} orientation_t;
-
/** \brief replace \c NULL strings with empty strings */
#define NONULL(x) (x ? x : "")
@@ -329,8 +322,6 @@ void _fatal(int, const char *, const char *, ...)
void _warn(int, const char *, const char *, ...)
__attribute__ ((format(printf, 3, 4)));
-orientation_t orientation_fromstr(const char *);
-const char * orientation_tostr(orientation_t);
void a_exec(const char *);
#endif