diff options
author | Steve Ellcey <sellcey@caviumnetworks.com> | 2017-07-21 09:56:13 -0700 |
---|---|---|
committer | Steve Ellcey <sellcey@caviumnetworks.com> | 2017-07-21 09:56:13 -0700 |
commit | cb62108e740924551fd45f89815d6fba8139890b (patch) | |
tree | 57931e9eec2d63ce1a0ac872b84166a0dee087f7 | |
parent | a4c9be1b8b5edd533d31e7f9a682b891f696bb91 (diff) | |
download | glibc-cb62108e740924551fd45f89815d6fba8139890b.zip glibc-cb62108e740924551fd45f89815d6fba8139890b.tar.gz glibc-cb62108e740924551fd45f89815d6fba8139890b.tar.bz2 |
Fix nss/nss_test1.c compile with latest GCC.
* nss/nss_test1.c (default_npwd_data): Fix definition.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | nss/nss_test1.c | 3 |
2 files changed, 6 insertions, 1 deletions
@@ -1,5 +1,9 @@ 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> + * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Call math_force_eval. diff --git a/nss/nss_test1.c b/nss/nss_test1.c index b728e41..86bbc2c 100644 --- a/nss/nss_test1.c +++ b/nss/nss_test1.c @@ -57,7 +57,8 @@ static struct passwd default_pwd_data[] = PWD (60), 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 int npwd_data = default_npwd_data; |