error.h: Remove some unused errors.
authorAndre Noll <maan@systemlinux.org>
Sun, 7 Oct 2007 19:28:44 +0000 (21:28 +0200)
committerAndre Noll <maan@systemlinux.org>
Sun, 7 Oct 2007 19:28:44 +0000 (21:28 +0200)
error.h

diff --git a/error.h b/error.h
index c164700d7116db83680788a6a493fd350a180835..d648f14e33abc54c11c6228b828c9542dbcb8060 100644 (file)
--- a/error.h
+++ b/error.h
@@ -84,17 +84,14 @@ extern const char **para_errlist[];
 #define AFS_ERRORS \
        PARA_ERROR(BAD_TABLE_NAME, "invalid table"), \
        PARA_ERROR(INPUT_TOO_LARGE, "input too large for stdin command"), \
-       PARA_ERROR(READ, "read error"), \
        PARA_ERROR(AFS_SYNTAX, "afs syntax error"), \
        PARA_ERROR(AFS_SIGNAL, "afs caught deadly signal"), \
 
 
 #define MOOD_ERRORS \
        PARA_ERROR(MOOD_SYNTAX, "mood syntax error"), \
-       PARA_ERROR(MOOD_REGEX, "invalid regular expression"), \
        PARA_ERROR(NO_MOOD, "no mood available"), \
        PARA_ERROR(MOOD_LOADED, "mood loaded"), \
-       PARA_ERROR(MOOD_BUSY, "mood is in use"), \
        PARA_ERROR(NOT_ADMISSIBLE, "file is not admussible"), \
 
 
@@ -110,7 +107,6 @@ extern const char **para_errlist[];
 
 
 #define PLAYLIST_ERRORS \
-       PARA_ERROR(PLAYLIST_SYNTAX, "playlist syntax error"), \
        PARA_ERROR(NO_PLAYLIST, "no valid playlist found"), \
        PARA_ERROR(PLAYLIST_LOADED, ""), /* not really an error */ \
        PARA_ERROR(PLAYLIST_EMPTY, "attempted to load empty playlist"), \
@@ -146,8 +142,6 @@ extern const char **para_errlist[];
        PARA_ERROR(AUDIOC_SYNTAX, "audioc syntax error"), \
        PARA_ERROR(AUDIOC_READ, "audioc read error"), \
        PARA_ERROR(AUDIOC_WRITE, "audioc write error"), \
-       PARA_ERROR(INIT_SOCK_ADDR, "can not init socket"), \
-       PARA_ERROR(AUDIOC_CONNECT, "audioc connect error"), \
        PARA_ERROR(AUDIOC_OVERRUN, "audioc buffer overrun"), \
 
 
@@ -326,7 +320,6 @@ extern const char **para_errlist[];
 
 
 #define AFS_COMMON_ERRORS \
-       PARA_ERROR(GETCWD, "can not get current working directory"), \
        PARA_ERROR(LSTAT, "lstat error"), \