From: Andre Date: Tue, 23 May 2006 22:23:21 +0000 (+0200) Subject: error.h: kill some unused errors X-Git-Tag: v0.2.14~101^2~26 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=e50312d2c6c2ca83fb266bb037a70f9781e1303f;p=paraslash.git error.h: kill some unused errors --- diff --git a/error.h b/error.h index a53531b7..1505fe2e 100644 --- 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 \