Message ID | 20211030213131.140429-20-alx.manpages@gmail.com |
---|---|
State | New |
Headers | show
Return-Path: <libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=PbDVEl+h; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=8.43.85.97; helo=sourceware.org; envelope-from=libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org; receiver=<UNKNOWN>) Received: from sourceware.org (ip-8-43-85-97.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4HhXsf0w7Bz9sXS for <incoming@patchwork.ozlabs.org>; Sun, 31 Oct 2021 08:45:42 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id EBDE9385782E for <incoming@patchwork.ozlabs.org>; Sat, 30 Oct 2021 21:45:39 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EBDE9385782E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1635630340; bh=382NxPxQ4f0c/RCsxp4514OouxxfYKsL18p/orKtNYY=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=PbDVEl+hbZmooj6j2z1w6X6CovRn3kNdECSRKkmCgiODGy6qSJGbnKaXCH3iVO7Us TL7JH+ZnOHlm868tp3LDuKdORLBoVsY8yyBsDyudu/xDv1cNVHs7gNmt8VChhLFtLM eubYWfxvatBlz51iiYctdFJXnYfnArk/KccIfNQo= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by sourceware.org (Postfix) with ESMTPS id 4C7AD385801B for <libc-alpha@sourceware.org>; Sat, 30 Oct 2021 21:32:14 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 4C7AD385801B Received: by mail-wm1-x335.google.com with SMTP id d72-20020a1c1d4b000000b00331140f3dc8so3411848wmd.1 for <libc-alpha@sourceware.org>; Sat, 30 Oct 2021 14:32:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=382NxPxQ4f0c/RCsxp4514OouxxfYKsL18p/orKtNYY=; b=x12JJU2UHEluGC32hkgjBayPehIlP7zrqaJgKiV8X2D4D61XHAUmuuqoqoFBpvDhMM 8kyw8zDn/IicNrWj8BfBfCm0xU//N1b3q9fl+rPovHESQAjnPW8m9QUGmF8PdYHAz5fd xH8GZD6ZnWTdOrw51hcY6ge1xAIX8mAuGWPtnP6pzDmNYaJDefbHxEQOI4sLsL3B4emY IKi7TSoD8e+NijvZvSat/661B1xKu/zHbv/tzb/Ol9/NnDh17yhmXqoOfa0pf7Q3tZGu LMuzZlPNvCs5cubyozeuBuni/V7NuQye1f5XrvflI9TKnG91gR4Fd62QckUUHUE3DE37 yVyw== X-Gm-Message-State: AOAM532BwKipA4zT9/199JnAr8/kNnsskP5e8l6cDo0pm3Z0snz9Hi85 Hc6NB3/8mJb/roX7X0a6608= X-Google-Smtp-Source: ABdhPJwSTN4puVGsWOuBa1aoxcOympFlW391yYdqO+H64YHfzuCLZ/wJq0pgfMWpUY70yNi96xE6gQ== X-Received: by 2002:a7b:c30c:: with SMTP id k12mr29245520wmj.38.1635629533489; Sat, 30 Oct 2021 14:32:13 -0700 (PDT) Received: from sqli.sqli.com ([195.53.121.100]) by smtp.googlemail.com with ESMTPSA id c79sm2948689wme.43.2021.10.30.14.32.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Oct 2021 14:32:13 -0700 (PDT) To: mtk.manpages@gmail.com, linux-man@vger.kernel.org Subject: [PATCH 19/22] gettimeofday.2: SYNOPSIS: Mark as [[deprecated]] Date: Sat, 30 Oct 2021 23:31:29 +0200 Message-Id: <20211030213131.140429-20-alx.manpages@gmail.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211030213131.140429-1-alx.manpages@gmail.com> References: <20211030213131.140429-1-alx.manpages@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-11.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) 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: Alejandro Colomar via Libc-alpha <libc-alpha@sourceware.org> Reply-To: Alejandro Colomar <alx.manpages@gmail.com> Cc: Alejandro Colomar <alx.manpages@gmail.com>, libc-alpha@sourceware.org, linux-kernel@vger.kernel.org, git@vger.kernel.org Errors-To: libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org Sender: "Libc-alpha" <libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org> |
Series |
man2: Add [[deprecated]] attribute
|
expand
|
diff --git a/man2/gettimeofday.2 b/man2/gettimeofday.2 index 8101e311d..f4b7189d7 100644 --- a/man2/gettimeofday.2 +++ b/man2/gettimeofday.2 @@ -44,10 +44,10 @@ gettimeofday, settimeofday \- get / set time .nf .B #include <sys/time.h> .PP -.BI "int gettimeofday(struct timeval *restrict " tv , -.BI " struct timezone *restrict " tz ); -.BI "int settimeofday(const struct timeval *" tv , -.BI " const struct timezone *" tz ); +.BI "[[deprecated]] int gettimeofday(struct timeval *restrict " tv , +.BI " struct timezone *restrict " tz ); +.BI "[[deprecated]] int settimeofday(const struct timeval *" tv , +.BI " const struct timezone *" tz ); .fi .PP .RS -4
Use clock_gettime(2) instead. Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com> --- man2/gettimeofday.2 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)