X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=error.h;h=eb8d659b6c0f3ef6876f26c9ca4031a1d5feeaf4;hb=6bcdcffef00ff117eecf1b5447b9e849698d02e5;hp=a63a052928fc55bf4829b70d36f838d293e760e6;hpb=f167629b3191c57a6b691cd2a6af04a45a74ccb0;p=paraslash.git diff --git a/error.h b/error.h index a63a0529..eb8d659b 100644 --- a/error.h +++ b/error.h @@ -105,9 +105,11 @@ extern const char **para_errlist[]; #define OGG_AFH_COMMON_ERRORS \ - PARA_ERROR(STREAM_PACKETOUT, "ogg stream packet-out error (first packet)"), \ + PARA_ERROR(STREAM_PACKETOUT, "ogg stream packet-out error"), \ + PARA_ERROR(STREAM_PACKETIN, "ogg stream packet-in error"), \ PARA_ERROR(SYNC_PAGEOUT, "ogg sync page-out error (no ogg file?)"), \ - PARA_ERROR(STREAM_PAGEIN, "ogg stream page-in error (first page)"), \ + PARA_ERROR(STREAM_PAGEIN, "ogg stream page-in error"), \ + PARA_ERROR(STREAM_PAGEOUT, "ogg stream page-out error"), \ PARA_ERROR(OGG_SYNC, "internal ogg storage overflow"), \ PARA_ERROR(OGG_EMPTY, "no ogg pages found"), \ @@ -579,7 +581,7 @@ extern const char **para_errlist[]; * \return True if \a num is paraslash's representation of the system * error identified by \a _errno. */ -_static_inline_ int is_errno(int num, int _errno) +_static_inline_ bool is_errno(int num, int _errno) { assert(num > 0 && _errno > 0); return ERRNO_TO_PARA_ERROR(_errno) == num;