projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb9bb2b
)
error.h: Change type of return value of is_errno() to bool.
author
Andre Noll
<maan@tuebingen.mpg.de>
Sun, 4 Jan 2015 02:48:08 +0000
(
02:48
+0000)
committer
Andre Noll
<maan@tuebingen.mpg.de>
Mon, 30 Mar 2015 16:42:23 +0000
(16:42 +0000)
There is only a single caller in afs.c which is OK with this change.
error.h
patch
|
blob
|
history
diff --git
a/error.h
b/error.h
index a63a052928fc55bf4829b70d36f838d293e760e6..31426b04839e829a7594f6127cf48ec0603a56ac 100644
(file)
--- 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;