X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=error.h;h=a56faf544534557cf96e9e434acfa696a2bf7c3e;hp=b8078770e5368c3840e0c6c91e3ff6267a7f7590;hb=4a4d8f266a79275d7b2c902dc69b5ec8d46406b2;hpb=d49cd9a91015766cb19d7d43bb04048265925fe5 diff --git a/error.h b/error.h index b8078770..a56faf54 100644 --- a/error.h +++ b/error.h @@ -34,6 +34,7 @@ DEFINE_ERRLIST_OBJECT_ENUM; #define STDOUT_ERRORS #define FILE_WRITE_ERRORS #define STDIN_ERRORS +#define WRITE_ERRORS extern const char **para_errlist[]; @@ -422,10 +423,6 @@ extern const char **para_errlist[]; PARA_ERROR(READ_PATTERN, "did not read expected pattern"), \ -#define WRITE_ERRORS \ - PARA_ERROR(WRITE_SYNTAX, "para_write syntax error"), \ - - #define ALSA_WRITE_ERRORS \ PARA_ERROR(BROKEN_CONF, "Broken alsa configuration"), \ PARA_ERROR(ACCESS_TYPE, "alsa access type not available"), \ @@ -441,10 +438,10 @@ 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_POLL_FDS, "could not get alsa poll fd"), \ #define WRITE_COMMON_ERRORS \ - PARA_ERROR(WRITE_COMMON_SYNTAX, "syntax error in write option"), \ PARA_ERROR(WRITE_COMMON_EOF, "end of file"), \