1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00

No-op. Change the type of unnamed bit-fields to unsigned to shut up

warnings.
This commit is contained in:
Mark Murray 2003-02-26 14:59:14 +00:00
parent 4b67de3419
commit c63e8d6470
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=111552

View File

@ -124,13 +124,13 @@ struct stat {
* to cover up to 64 bits on 32-bit machines. We assume that
* CHAR_BIT is 8...
*/
int :(8 / 2) * (16 - (int)sizeof(struct timespec));
int :(8 / 2) * (16 - (int)sizeof(struct timespec));
u_int :(8 / 2) * (16 - (int)sizeof(struct timespec));
u_int :(8 / 2) * (16 - (int)sizeof(struct timespec));
#else
time_t st_birthtime; /* time of file creation */
long st_birthtimensec; /* nsec of file creation */
int :(8 / 2) * (16 - (int)sizeof(struct __timespec));
int :(8 / 2) * (16 - (int)sizeof(struct __timespec));
u_int :(8 / 2) * (16 - (int)sizeof(struct __timespec));
u_int :(8 / 2) * (16 - (int)sizeof(struct __timespec));
#endif
};
@ -155,8 +155,8 @@ struct nstat {
/*
* See above about the following padding.
*/
int :(8 / 2) * (16 - (int)sizeof(struct timespec));
int :(8 / 2) * (16 - (int)sizeof(struct timespec));
u_int :(8 / 2) * (16 - (int)sizeof(struct timespec));
u_int :(8 / 2) * (16 - (int)sizeof(struct timespec));
};
#endif