X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=error.h;h=31426b04839e829a7594f6127cf48ec0603a56ac;hp=a63a052928fc55bf4829b70d36f838d293e760e6;hb=175a7e89de67deab584b86154f46dfcd41213af0;hpb=f167629b3191c57a6b691cd2a6af04a45a74ccb0 diff --git a/error.h b/error.h index a63a0529..31426b04 100644 --- a/error.h +++ b/error.h @@ -579,7 +579,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;