Cygwin: avoid GCC 8.3 errors with -Werror=stringop-truncation

This commit is contained in:
Ken Brown
2019-07-15 15:02:00 -04:00
parent f0cf44dc7d
commit b66dddb56d
3 changed files with 5 additions and 5 deletions

View File

@@ -24,11 +24,11 @@ struct utmp
{
short ut_type;
pid_t ut_pid;
char ut_line[UT_LINESIZE];
char ut_line[UT_LINESIZE] __attribute__ ((nonstring));
char ut_id[UT_IDLEN];
time_t ut_time;
char ut_user[UT_NAMESIZE];
char ut_host[UT_HOSTSIZE];
char ut_user[UT_NAMESIZE] __attribute__ ((nonstring));
char ut_host[UT_HOSTSIZE] __attribute__ ((nonstring));
long ut_addr;
};