mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 10:39:24 +00:00
errno should not be used as a variable name.
This commit is contained in:
parent
074d293c85
commit
ea3342de42
|
@ -362,15 +362,15 @@ int SYSDEPS_GetUnixTid(void)
|
|||
/* default errno before threading is initialized */
|
||||
static int *default_errno_location(void)
|
||||
{
|
||||
static int errno;
|
||||
return &errno;
|
||||
static int static_errno;
|
||||
return &static_errno;
|
||||
}
|
||||
|
||||
/* default h_errno before threading is initialized */
|
||||
static int *default_h_errno_location(void)
|
||||
{
|
||||
static int h_errno;
|
||||
return &h_errno;
|
||||
static int static_h_errno;
|
||||
return &static_h_errno;
|
||||
}
|
||||
|
||||
/* errno once threading is working */
|
||||
|
|
Loading…
Reference in a new issue