From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2138) id D1B1B3857C42; Wed, 5 Aug 2020 19:55:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D1B1B3857C42 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Andreas Schwab To: glibc-cvs@sourceware.org Subject: [glibc/schwab/ilp32-2.32] aarch64: Fix bits/utmp.h for GCC 8 X-Act-Checkin: glibc X-Git-Author: Andreas Schwab X-Git-Refname: refs/heads/schwab/ilp32-2.32 X-Git-Oldrev: a5fd1623f929ec9d0ea0fa99f8cfb569f8b0b1d9 X-Git-Newrev: 066eba85277e90fcc884bb030a13f12b4b444499 Message-Id: <20200805195501.D1B1B3857C42@sourceware.org> Date: Wed, 5 Aug 2020 19:55:01 +0000 (GMT) X-BeenThere: glibc-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Aug 2020 19:55:01 -0000 https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=066eba85277e90fcc884bb030a13f12b4b444499 commit 066eba85277e90fcc884bb030a13f12b4b444499 Author: Andreas Schwab Date: Sun Feb 23 15:17:11 2020 +0100 aarch64: Fix bits/utmp.h for GCC 8 Diff: --- sysdeps/unix/sysv/linux/aarch64/bits/utmp.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/sysdeps/unix/sysv/linux/aarch64/bits/utmp.h b/sysdeps/unix/sysv/linux/aarch64/bits/utmp.h index 027dceb82c..9958fe5dd6 100644 --- a/sysdeps/unix/sysv/linux/aarch64/bits/utmp.h +++ b/sysdeps/unix/sysv/linux/aarch64/bits/utmp.h @@ -1,7 +1,7 @@ /* The `struct utmp' type, describing entries in the utmp file. Linux/AArch64 version. - Copyright (C) 2017 Free Software Foundation, Inc. + Copyright (C) 2020 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -16,7 +16,7 @@ You should have received a copy of the GNU Lesser General Public License along with the GNU C Library; if not, see - . */ + . */ #ifndef _UTMP_H # error "Never include directly; use instead." @@ -63,7 +63,8 @@ struct utmp pid_t ut_pid; /* Process ID of login process. */ char ut_line[UT_LINESIZE] __attribute_nonstring__; /* Devicename. */ - char ut_id[4]; /* Inittab ID. */ + char ut_id[4] + __attribute_nonstring__; /* Inittab ID. */ char ut_user[UT_NAMESIZE] __attribute_nonstring__; /* Username. */ char ut_host[UT_HOSTSIZE]