]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
error.h: kill some unused errors
authorAndre <maan@p133.(none)>
Tue, 23 May 2006 22:23:21 +0000 (00:23 +0200)
committerAndre <maan@p133.(none)>
Tue, 23 May 2006 22:23:21 +0000 (00:23 +0200)
error.h

diff --git a/error.h b/error.h
index a53531b7fbf4f29bbd67474b17e2d1778b410b9a..1505fe2eff7b609987e5cac9aed13c478470af1d 100644 (file)
--- a/error.h
+++ b/error.h
@@ -20,6 +20,7 @@
 
 /** \cond list of all subsystems that support the shiny error facility */
 enum para_subsystem {
+       SS_SCHED,
        SS_GUI,
        SS_TIME,
        SS_WAV,
@@ -33,7 +34,6 @@ enum para_subsystem {
        SS_ORTP_RECV,
        SS_AUDIOD,
        SS_EXEC,
-       SS_SCHED,
        SS_STDIN,
        SS_SIGNAL,
        SS_STRING,
@@ -81,6 +81,7 @@ enum para_subsystem {
 #define ORTP_SEND_ERRORS
 #define GUI_ERRORS
 #define RINGBUFFER_ERRORS
+#define SCHED_ERRORS
 
 
 extern const char **para_errlist[];
@@ -90,14 +91,6 @@ extern const char **para_errlist[];
        PARA_ERROR(STDIN_READ, "failed to read from stdin"), \
        PARA_ERROR(STDIN_EOF, "end of file"), \
 
-
-#define SCHED_ERRORS \
-       PARA_ERROR(PRE_EOF, "pre_select returned zero"), \
-       PARA_ERROR(POST_EOF, "post_select returned zero"), \
-
-
-
-
 #define NET_ERRORS \
        PARA_ERROR(SEND, "send error"), \
        PARA_ERROR(RECV, "receive error"), \
@@ -225,7 +218,6 @@ extern const char **para_errlist[];
 
 
 #define AAC_COMMON_ERRORS \
-       PARA_ERROR(AAC_BUF, "invalid buffer"), \
        PARA_ERROR(ESDS, "did not find esds atom"), \
        PARA_ERROR(STCO, "did not find stco atom"), \
 
@@ -346,10 +338,7 @@ extern const char **para_errlist[];
 
 
 #define WRITE_ERRORS \
-       PARA_ERROR(READ_HDR, "failed to read audio file header"), \
-       PARA_ERROR(READ_STDIN, "failed to read from stdin"), \
        PARA_ERROR(WRITE_SYNTAX, "para_write syntax error"), \
-       PARA_ERROR(WRITE_OVERRUN, "buffer overrun"), \
        PARA_ERROR(PREMATURE_END, "premature end of audio file"), \
        PARA_ERROR(NO_WAV_HEADER, "wave header not found"), \
        PARA_ERROR(WAV_HEADER_SUCCESS, "successfully read wave header"), \
@@ -375,7 +364,6 @@ extern const char **para_errlist[];
        PARA_ERROR(SET_RATE, "snd_pcm_hw_params_set_rate_near failed"), \
        PARA_ERROR(START_THRESHOLD, "snd_pcm_sw_params_set_start_threshold() failed"), \
        PARA_ERROR(STOP_THRESHOLD, "snd_pcm_sw_params_set_stop_threshold() failed"), \
-       PARA_ERROR(ALSA_LOG, "snd_output_stdio_attach() failed"), \
 
 
 #define FILE_WRITER_ERRORS \