summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
fb9bb2b)
There is only a single caller in afs.c which is OK with this change.
* \return True if \a num is paraslash's representation of the system
* error identified by \a _errno.
*/
* \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;
{
assert(num > 0 && _errno > 0);
return ERRNO_TO_PARA_ERROR(_errno) == num;