* cygerrno.h (__set_errno): Remove useless parentheses.

This commit is contained in:
Corinna Vinschen 2005-05-04 11:05:11 +00:00
parent 5d4750a996
commit 56f235345d
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2005-05-04 Corinna Vinschen <corinna@vinschen.de>
* cygerrno.h (__set_errno): Remove useless parentheses.
2005-05-04 Corinna Vinschen <corinna@vinschen.de>
* cygerrno.h (__set_errno): Define as inline function here.

View File

@ -27,7 +27,7 @@ inline int
__set_errno (const char *fn, int ln, int val)
{
debug_printf ("%s:%d val %d", fn, ln, val);
return errno = _impure_ptr->_errno = (val);
return errno = _impure_ptr->_errno = val;
}
#define set_errno(val) __set_errno (__PRETTY_FUNCTION__, __LINE__, (val))