Remove some unused error codes.
[paraslash.git] / error.h
diff --git a/error.h b/error.h
index 94a44854cfdb961c136dcca35fb6850f27a33e89..a24bf20c9319a5233bd71cfcc299444a81732805 100644 (file)
--- a/error.h
+++ b/error.h
@@ -34,6 +34,7 @@ DEFINE_ERRLIST_OBJECT_ENUM;
 #define AUDIOD_COMMAND_LIST_ERRORS
 #define STDOUT_ERRORS
 #define FILE_WRITE_ERRORS
+#define STDIN_ERRORS
 
 
 extern const char **para_errlist[];
@@ -195,9 +196,6 @@ extern const char **para_errlist[];
 
 #define AUDIOC_ERRORS \
        PARA_ERROR(AUDIOC_SYNTAX, "audioc syntax error"), \
-       PARA_ERROR(AUDIOC_READ, "audioc read error"), \
-       PARA_ERROR(AUDIOC_WRITE, "audioc write error"), \
-       PARA_ERROR(AUDIOC_OVERRUN, "audioc buffer overrun"), \
 
 
 #define CLIENT_COMMON_ERRORS \
@@ -215,11 +213,6 @@ extern const char **para_errlist[];
        PARA_ERROR(NOT_INITIALIZED, "scheduler not yet initialized"), \
 
 
-#define STDIN_ERRORS \
-       PARA_ERROR(STDIN_EOF, "end of file"), \
-
-
-
 #define NET_ERRORS \
        PARA_ERROR(NAME_TOO_LONG, "name too long for struct sockaddr_un"), \
        PARA_ERROR(ADDRESS_LOOKUP, "can not resolve requested address"),\
@@ -282,7 +275,6 @@ extern const char **para_errlist[];
        PARA_ERROR(OGGDEC_BADHEADER, "invalid vorbis bitstream header"), \
        PARA_ERROR(OGGDEC_FAULT, "bug or heap/stack corruption"), \
        PARA_ERROR(OGGDEC_BADLINK, "invalid stream section or requested link corrupt"), \
-       PARA_ERROR(OGGDEC_SYNTAX, "syntax error in oggdec config"), \
 
 
 #define GRAB_CLIENT_ERRORS \