From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 84788 invoked by alias); 18 Apr 2018 21:54:38 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 84779 invoked by uid 89); 18 Apr 2018 21:54:37 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-24.1 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,KAM_NUMSUBJECT,RCVD_IN_DNSWL_NONE,SPF_PASS,URIBL_RED autolearn=ham version=3.3.2 spammy=Hx-languages-length:923 X-HELO: relay1.mentorg.com Date: Wed, 18 Apr 2018 21:54:00 -0000 From: Joseph Myers To: "Albert ARIBAUD (3ADEV)" CC: Subject: Re: [[PATCH RFC 2] 26/63] Y2038: add struct __itimerspec64 In-Reply-To: <20180418201819.15952-27-albert.aribaud@3adev.fr> Message-ID: References: <20180418201819.15952-1-albert.aribaud@3adev.fr> <20180418201819.15952-10-albert.aribaud@3adev.fr> <20180418201819.15952-11-albert.aribaud@3adev.fr> <20180418201819.15952-12-albert.aribaud@3adev.fr> <20180418201819.15952-13-albert.aribaud@3adev.fr> <20180418201819.15952-14-albert.aribaud@3adev.fr> <20180418201819.15952-15-albert.aribaud@3adev.fr> <20180418201819.15952-16-albert.aribaud@3adev.fr> <20180418201819.15952-17-albert.aribaud@3adev.fr> <20180418201819.15952-18-albert.aribaud@3adev.fr> <20180418201819.15952-19-albert.aribaud@3adev.fr> <20180418201819.15952-20-albert.aribaud@3adev.fr> <20180418201819.15952-21-albert.aribaud@3adev.fr> <20180418201819.15952-22-albert.aribaud@3adev.fr> <20180418201819.15952-23-albert.aribaud@3adev.fr> <20180418201819.15952-24-albert.aribaud@3adev.fr> <20180418201819.15952-25-albert.aribaud@3adev.fr> <20180418201819.15952-26-albert.aribaud@3adev.fr> <20180418201819.15952-27-albert.aribaud@3adev.fr> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-ClientProxiedBy: svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) To svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) X-SW-Source: 2018-04/txt/msg00378.txt.bz2 On Wed, 18 Apr 2018, Albert ARIBAUD (3ADEV) wrote: > --- > time/bits/types/struct_itimerspec.h | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/time/bits/types/struct_itimerspec.h b/time/bits/types/struct_itimerspec.h > index 17cc1ac86d..1f8fff439f 100644 > --- a/time/bits/types/struct_itimerspec.h > +++ b/time/bits/types/struct_itimerspec.h > @@ -11,4 +11,11 @@ struct itimerspec > struct timespec it_value; > }; > > +/* 64-bit interval timer spec */ > +struct __itimerspec64 > +{ > + struct __timespec64 it_interval; > + struct __timespec64 it_value; > +}; No, bits/types/* are for exactly one type per header. You need a separate bits/types/struct___itimerspec64.h to define struct __itimerspec64 (and likewise for any other such type, and with Makefiles modified to install any new such headers). -- Joseph S. Myers joseph@codesourcery.com