From ca14953f8f1c5968578735af5de7e966e9b4487d Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sun, 4 Jan 2015 02:48:08 +0000 Subject: [PATCH] error.h: Change type of return value of is_errno() to bool. There is only a single caller in afs.c which is OK with this change. --- error.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2