From: Andre Noll <maan@tuebingen.mpg.de>
Date: Sun, 4 Jan 2015 02:48:08 +0000 (+0000)
Subject: error.h: Change type of return value of is_errno() to bool.
X-Git-Tag: v0.5.5~55
X-Git-Url: https://git.tue.mpg.de/?a=commitdiff_plain;h=ca14953f8f1c5968578735af5de7e966e9b4487d;p=paraslash.git

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.
---

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;