Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1474337pxb; Sat, 30 Oct 2021 14:36:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy+fEEMXu4DqOdAUjublrDCIWRGqwYsSAhl+c4tIkiBgycaa2ojH0c4amVaOvQTN4RlH7Ym X-Received: by 2002:a05:6402:1151:: with SMTP id g17mr23751801edw.219.1635629776270; Sat, 30 Oct 2021 14:36:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635629776; cv=none; d=google.com; s=arc-20160816; b=YoL45lJtJKuyUnxgtSWlgZVJLuBExJ0ex23RkzNnFphBWzjJEGUcCbvOO+ClWdy2iQ XK6HM1lt5z3OzgXEuLtpUL4lcZyGuepYEHSSAm/B+HUxfxXAePCS2Rga9zho6Z095Jv4 dRDF0/jkSXzJNLvFaSI3GRSogj0kkPXJgCi2D2nRuf+9DPOlevAoDdgnWZ+UIFJ5U4bc 3d0aT3urwLJ9Y5OY9VYY58f1KvR12d6kmBrwxpiPObKlcqEd32NU+xYAXasTOPpbwp4e sxs+C7oo1jx8xjmwvKMMQfn9pcrAnyRekJfyKxSewxyysx65km//mlr2bbeG9O4YNVLL uzFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=382NxPxQ4f0c/RCsxp4514OouxxfYKsL18p/orKtNYY=; b=yj2kQcKjEFt0iZc6/cOHrDjfAkOqdOcBX7kARvEW5xjrJEBNLU5N8MlFmA9q74cLfE 7qpt2ZOBDRxAVtk869/pZhLyi2bmIEPB+JBnJ6e5s+r6XbYrkZV2bww5FbJS/bNXCqtQ qfi9h71B3RSX2qBCKDcF0ysGQ3M9j5HlqHVMAf1as3u+hYw9sS2+997u5nrEEgZhU8GZ FiCPWV+/ql+fhnmuI74ku3Zgk/znR1XPG2IcgC0/g14PlSXjU61dVfjv2Q8aWbtmZPqc FJiLgoEhSw5lR8t19meKTbnKMJMc1Rnrk2Ol0zs0CTMH4/04fiM28ACJzR+5EmxOL5xk tFhA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=RApcvgBt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m11si19486112edc.458.2021.10.30.14.35.52; Sat, 30 Oct 2021 14:36:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=RApcvgBt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232471AbhJ3VfN (ORCPT + 99 others); Sat, 30 Oct 2021 17:35:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57814 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232134AbhJ3Veq (ORCPT ); Sat, 30 Oct 2021 17:34:46 -0400 Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E06BBC06120D; Sat, 30 Oct 2021 14:32:14 -0700 (PDT) Received: by mail-wm1-x32c.google.com with SMTP id v127so10672255wme.5; Sat, 30 Oct 2021 14:32:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=382NxPxQ4f0c/RCsxp4514OouxxfYKsL18p/orKtNYY=; b=RApcvgBtb528hmH+h3Fno52vIcieLvVJMoIZ/1zqJ+WBOl0tobQVSbBnP1RHAni9q0 74+I/mrMZgttS6VQ2nUMmtc5Zngyh7Xo8y5k38mPv5AgQubYBPtovU04yhfAr+c/4r2o TEqBcpxvs12ZolTb2YNsfnUjo97axdZJWbHJPmas1yASd4BMzltpf6kdyonoWT5HWtdl fMljdZ+x7xfYliI4gQH5CNu3Juy4FfvtSk8LLN03LuQb7Nc0tt6iVqsThhw/7OH+GNA/ LfIIBH1L4peT8k2UrLRg3SADOIHxYTAgyy5b639nT/qtrky48RlIzdtKOpJEvId2muBP ekBw== 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=z0YqRHfsckbdgKPn766R/2ZLFavKZBrAB2+QKPstJHgL0sKIM/JDOauvw0UIkSmVSJ 37Z77UOYrin91VJnvrr+fwBq7szpcnd4T7qhZE/mkDWKR9ZggYOXj3yd6XrM7qEwfuYH aWb5sR7/jm6b93ch+PTlXqwJJPpKkGf5d/dyT2tNwCisKN065NcxWsJwaYigZo//sNZN ry1ioP5RBQApxORhScBFvg4kR9IOClzqJLFk8t2NbZw5WSohxFe9XqBl5C5ZAWzLvorr Os5aGVIleGRPcdd8ZQzdEOBPUakhFxuNt7j/h9rc13a633TbD0mI4u/rGyJg2O8s2NrI WPnw== X-Gm-Message-State: AOAM533+FzD4vRvqFcD4AEfHawBEjyhN5lnFowWt3nBLRsCEcPcMYFVN kp7+g6p93ljjEbKjlizCUjqty8G2qP0= 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) From: Alejandro Colomar To: mtk.manpages@gmail.com, linux-man@vger.kernel.org Cc: git@vger.kernel.org, Alejandro Colomar , linux-kernel@vger.kernel.org, libc-alpha@sourceware.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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Use clock_gettime(2) instead. Signed-off-by: Alejandro Colomar --- man2/gettimeofday.2 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 .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 -- 2.33.1