Message ID | 20210607203613.282543-8-adhemerval.zanella@linaro.org |
---|---|
State | Committed |
Commit | fad1df51cc268da240a87986777834e43d419f94 |
Headers |
Return-Path: <libc-alpha-bounces+patchwork=sourceware.org@sourceware.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 080BE389682A for <patchwork@sourceware.org>; Mon, 7 Jun 2021 20:42:09 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 080BE389682A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1623098529; bh=V+QeuoM/PrfFaV5DF1lG/9HsWHOhXz117YOg6/FxKL8=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=KdYTMkix9v8XXFV87AGdYmJ32B6FBot5kS0rvNJlHZ6bRDDA0QfQqOVWbJWH6tyTs tqcF9qKWGslj+QulfrEZl+KSiGOCFceTijTrc0/SUKh+/DHDcgSoowORiNEQWMSTjF gf37jBGz+n9g/LsyswyJiD7gn9xD1vAbKSeX9xJs= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-qt1-x832.google.com (mail-qt1-x832.google.com [IPv6:2607:f8b0:4864:20::832]) by sourceware.org (Postfix) with ESMTPS id E3B033938C0B for <libc-alpha@sourceware.org>; Mon, 7 Jun 2021 20:36:30 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org E3B033938C0B Received: by mail-qt1-x832.google.com with SMTP id g12so1293869qtb.2 for <libc-alpha@sourceware.org>; Mon, 07 Jun 2021 13:36:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=V+QeuoM/PrfFaV5DF1lG/9HsWHOhXz117YOg6/FxKL8=; b=P0SlFYzTRjo+2lgv1QYYOQFpO/B63MflYGOLWb29/Tc/SQWcNkHDeAalLOVvG2MHCJ DGNe7pV/IXb4wH9xg8Mqu5yrI4OYzlRLowGZJLQmoKldivPUi7zN6SqvSpXT77iI6Fxl x4aBNSBMUugc1HvDA+u9wRUyXa0uFDywmT3rcNiRZTV1yeRuCjmM6eOAxuBGOLd6wez9 Ef9r+sRKwnpwte/c4iUI9iIAgJJomqQ8wwCM26A779uJLRkqRGJOYSRypWEe33ZCQPeJ SKzaVr4RNmg/eK3HeohCkiTSLixKIAI56hDVe34Cp9IXYfWhSVMXcVjvRApJ9e6EavU/ v0Zw== X-Gm-Message-State: AOAM533VlAvhgHynXR/xy2siL7YnwI03AhjBmqUODDRUGH8BrFNoxO+E PSE6ZpFnO8vmUIvZ/EIiHdyfuV9rgz9EEw== X-Google-Smtp-Source: ABdhPJw5qOukMzyTVG6dyYHhtK8tfhRYUkFZs6qQxlQWnDbrv1AZuXALpZ1cHi4wY3H3aZ6AkH2qlw== X-Received: by 2002:a05:622a:13d0:: with SMTP id p16mr18643418qtk.30.1623098190427; Mon, 07 Jun 2021 13:36:30 -0700 (PDT) Received: from birita.. ([177.194.59.218]) by smtp.googlemail.com with ESMTPSA id t196sm10422123qke.50.2021.06.07.13.36.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Jun 2021 13:36:30 -0700 (PDT) To: libc-alpha@sourceware.org Subject: [PATCH v3 07/24] y2038: Add __USE_TIME_BITS64 support for time_t Date: Mon, 7 Jun 2021 17:35:56 -0300 Message-Id: <20210607203613.282543-8-adhemerval.zanella@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210607203613.282543-1-adhemerval.zanella@linaro.org> References: <20210607203613.282543-1-adhemerval.zanella@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-12.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list <libc-alpha.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/libc-alpha>, <mailto:libc-alpha-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/libc-alpha/> List-Post: <mailto:libc-alpha@sourceware.org> List-Help: <mailto:libc-alpha-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/libc-alpha>, <mailto:libc-alpha-request@sourceware.org?subject=subscribe> From: Adhemerval Zanella via Libc-alpha <libc-alpha@sourceware.org> Reply-To: Adhemerval Zanella <adhemerval.zanella@linaro.org> Errors-To: libc-alpha-bounces+patchwork=sourceware.org@sourceware.org Sender: "Libc-alpha" <libc-alpha-bounces+patchwork=sourceware.org@sourceware.org> |
Series |
Add 64 bit time support on legacy ABIs
|
|
Checks
Context | Check | Description |
---|---|---|
dj/TryBot-apply_patch | success | Patch applied to master at the time it was sent |
Commit Message
Adhemerval Zanella Netto
June 7, 2021, 8:35 p.m. UTC
The __USE_TIME_BITS64 is not defined internally yet. Reviewed-by: Lukasz Majewski <lukma@denx.de> Reviewed-by: Carlos O'Donell <carlos@redhat.com> Tested-by: Carlos O'Donell <carlos@redhat.com> --- time/bits/types/time_t.h | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/time/bits/types/time_t.h b/time/bits/types/time_t.h index ab8287c6fe..84d67f6ac3 100644 --- a/time/bits/types/time_t.h +++ b/time/bits/types/time_t.h @@ -4,6 +4,10 @@ #include <bits/types.h> /* Returned by `time'. */ +#ifdef __USE_TIME_BITS64 +typedef __time64_t time_t; +#else typedef __time_t time_t; +#endif #endif