From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id WPCdFDnnZmEePwEAgWs5BA (envelope-from ) for ; Wed, 13 Oct 2021 16:03:37 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 2Bw8EDnnZmENZQAAbx9fmQ (envelope-from ) for ; Wed, 13 Oct 2021 14:03:37 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [IPv6:2607:5300:201:3100::1657]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D821B29A18 for ; Wed, 13 Oct 2021 16:03:36 +0200 (CEST) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 613232C19F; Wed, 13 Oct 2021 10:03:34 -0400 (EDT) Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) by mail.notmuchmail.org (Postfix) with ESMTPS id AD51C2C19D for ; Wed, 13 Oct 2021 10:03:31 -0400 (EDT) Received: by mail-lf1-x12d.google.com with SMTP id z11so11998677lfj.4 for ; Wed, 13 Oct 2021 07:03:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nikula-org.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Q73AH1YkLAqLqfC1K8oaGpreBJN00QTA07RQd3TFVVs=; b=pCmZbKu0qe0gsWc3XcRPv5klXuaGTyE5mSISKXVnXZQAOo9mesm67atw9I2BNmwyC8 U0o7sxjsnf9f1GoYLq4Vz7ZTBw98YPUcK3AK+FeIWI3+6BVIXquafxhED1xM7uMu8BdP th0gR8y1XZlJcWDPQYMX9Q0GhNEOVw0mbztRezNzGcfUGDoMDcRgxLZW5rw7gq6Ukb1u b407tLtZlDLeWSJTUTs6yDwliVxGCUT+Jg/dfM76iFfOE80e+oElRdal0WsszgdiUk0/ rC8Rmqml+uf/Nwg1nFkSAotAFVSIw9O/PCvOVjs7ZVKAettPEA/xNVcOGJJouT/Dnkp+ LHZw== 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:mime-version :content-transfer-encoding; bh=Q73AH1YkLAqLqfC1K8oaGpreBJN00QTA07RQd3TFVVs=; b=Zmwc/lh20mNRyTX8ATo/iApzV2UdRJnMHo/W3L47/QpobbZKvfHqno54BmKQNIAyAE AnpKpo3Ho1Z7oF8Fcw3tymhpbvzez9JBuSb2XX4vN0a2odq0ub6aLXTioiRHpHsch7T8 cZ/RuwPqWavlXMqj4RfhhdP5717BR9MPzvrQgoLanB0gY6WHHToA7wPMvtQYMM9P9Gwy KZlJqx8MaqKkBuLFwQ98xaHoYkxsd+uJ5xkEOLBfhmpdG/1z6ajzuI5X+mLIwE572i1R uPm2luQNQ0vSeWS7OdO8A6CqGYf2gkR4l09c2GHcqbdaboE9JTUc37GAYKKenbpOcRW5 cUMA== X-Gm-Message-State: AOAM532kB5vZtMEeXD5NhI8DHr3pIOKOD9764EnZHENYRGRzhLiHQ73a 5mCXcvJqW0GDPtcC2eMlhV0wMm70gCy4NDS+i1s= X-Google-Smtp-Source: ABdhPJzciljyhxjKhaB2ew0FQRCMK94W4oWJg+7girO6jiUVuWsT23flUD7g7QKmsWdD7tMbwjX8Aw== X-Received: by 2002:ac2:4bc1:: with SMTP id o1mr40276800lfq.520.1634133791927; Wed, 13 Oct 2021 07:03:11 -0700 (PDT) Received: from localhost (87-95-50-104.bb.dnainternet.fi. [87.95.50.104]) by smtp.gmail.com with ESMTPSA id o13sm1337631lfl.111.2021.10.13.07.03.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Oct 2021 07:03:11 -0700 (PDT) From: Jani Nikula To: notmuch@notmuchmail.org Cc: jani@nikula.org Subject: [PATCH] lib: fix commented out NOTMUCH_DEPRECATED() Date: Wed, 13 Oct 2021 17:03:10 +0300 Message-Id: <20211013140310.220585-1-jani@nikula.org> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Message-ID-Hash: 2ZJUYOZWV2TJHYJXT6D5TOTZP6DXQFIH X-Message-ID-Hash: 2ZJUYOZWV2TJHYJXT6D5TOTZP6DXQFIH X-MailFrom: jani@nikula.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header X-Mailman-Version: 3.2.1 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1634133816; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=iOLbczGGo84H1Bh/3X+YfWnIGvOP5scS2VRLTz3pc0o=; b=e4buK2Fj7WcHIiTTI3zRmmwg0MzkOBt6hjYU61wEsYgMEetlu8Wkdr/2QPtj31haGvOemX 5Dmb+qnKxPrzgcWcX6iSOblSLAuqVmF6724zzWWpVxP0Bar6TJQN5GzhjC6wcWCDuYBKsX sZo9Xe4y2XQS/tel1mH93IOOgWPCcbRDGDEr2QI5qiskdjZKr2qxpOrAkYgiegNqDSt9/B nuovie5lDar7WKPKlij53S8eNonKiBS30M79xdaLYZCkNctPuKDm0uvq1y0C01+EpVP3nM oFfkyrKt5Qe4GXxNEvpwtDKUgxAg8k9t4hakd2QgiRUl7xL1nKoQUZG4N0+gTQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1634133816; a=rsa-sha256; cv=none; b=URJ8hIi4alOGSI+AsOZj6djBt34xHZ2WZatEl8a5N+ZBlLuwin+fxlnWmA4hZm8L+lVW6e e+P6Ek5KVXUnmeLev2tcDBoV/1Z8oZk/PQT56UZQPsr4u/AjYNqHlu/3Uv+xfu2fh/n2UI vOPkWOrB8bfrLIiveFMdQ3l2rLAAA6wrtbItMEQlt2knfi4kM9RVNw9xdHYqzFjat3kG5t XSllC+7l7J3lJaQsXZJ/4nyll2Ghpg7QQKeuqMy6+ZrPprq1/mNwLJoYBroDE9Sn08Vi0T chRcwJoMZ14FY6YKv9jEA42nxM3p789LzUDpkW4jGMbPM31Zno18iehpZmEexA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=nikula-org.20210112.gappssmtp.com header.s=20210112 header.b=pCmZbKu0; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2607:5300:201:3100::1657 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -0.17 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=nikula-org.20210112.gappssmtp.com header.s=20210112 header.b=pCmZbKu0; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2607:5300:201:3100::1657 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: D821B29A18 X-Spam-Score: -0.17 X-Migadu-Scanner: scn1.migadu.com X-TUID: rf0dMKzOzV8T Remove the comment markers from the placeholder NOTMUCH_DEPRECATED(), added in commit e5f3c3ed5024 ("lib: add stub for notmuch_database_open_with_config"). --- This does lead to deprecation warnings now. --- lib/notmuch.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/notmuch.h b/lib/notmuch.h index 546643e80cbb..b2227daef6ad 100644 --- a/lib/notmuch.h +++ b/lib/notmuch.h @@ -323,7 +323,7 @@ typedef enum { * config_path="" and error_message=NULL * @deprecated Deprecated as of libnotmuch 5.4 (notmuch 0.32) */ -/* NOTMUCH_DEPRECATED(5, 4) */ +NOTMUCH_DEPRECATED(5, 4) notmuch_status_t notmuch_database_open (const char *path, notmuch_database_mode_t mode, @@ -335,7 +335,7 @@ notmuch_database_open (const char *path, * @deprecated Deprecated as of libnotmuch 5.4 (notmuch 0.32) * */ -/* NOTMUCH_DEPRECATED(5, 4) */ +NOTMUCH_DEPRECATED(5, 4) notmuch_status_t notmuch_database_open_verbose (const char *path, notmuch_database_mode_t mode, -- 2.30.2