mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-05 09:01:07 +00:00
Fix nss/nss_test1.c compile with latest GCC.
* nss/nss_test1.c (default_npwd_data): Fix definition.
This commit is contained in:
parent
a4c9be1b8b
commit
cb62108e74
@ -1,3 +1,7 @@
|
|||||||
|
2017-07-21 Steve Ellcey <sellcey@cavium.com>
|
||||||
|
|
||||||
|
* nss/nss_test1.c (default_npwd_data): Fix definition.
|
||||||
|
|
||||||
2017-07-21 Steve Ellcey <sellcey@cavium.com>
|
2017-07-21 Steve Ellcey <sellcey@cavium.com>
|
||||||
|
|
||||||
* sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Call
|
* sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Call
|
||||||
|
@ -57,7 +57,8 @@ static struct passwd default_pwd_data[] =
|
|||||||
PWD (60),
|
PWD (60),
|
||||||
PWD (20000)
|
PWD (20000)
|
||||||
};
|
};
|
||||||
#define default_npwd_data (sizeof (pwd_data) / sizeof (pwd_data[0]))
|
#define default_npwd_data \
|
||||||
|
(sizeof (default_pwd_data) / sizeof (default_pwd_data[0]))
|
||||||
|
|
||||||
static struct passwd *pwd_data = default_pwd_data;
|
static struct passwd *pwd_data = default_pwd_data;
|
||||||
static int npwd_data = default_npwd_data;
|
static int npwd_data = default_npwd_data;
|
||||||
|
Loading…
Reference in New Issue
Block a user