From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id eBQjAIvuqmC5EAAAgWs5BA (envelope-from ) for ; Mon, 24 May 2021 02:08:43 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id wFpsN4ruqmCTPgAA1q6Kng (envelope-from ) for ; Mon, 24 May 2021 00:08:42 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [144.217.243.247]) (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 E6CA713B89 for ; Mon, 24 May 2021 02:08:39 +0200 (CEST) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id A2D852AB14; Sun, 23 May 2021 20:08:36 -0400 (EDT) Received: from fethera.tethera.net (fethera.tethera.net [IPv6:2607:5300:60:c5::1]) by mail.notmuchmail.org (Postfix) with ESMTP id DCBE42AA00 for ; Sun, 23 May 2021 20:08:34 -0400 (EDT) Received: by fethera.tethera.net (Postfix, from userid 1001) id A63875FD25; Sun, 23 May 2021 20:08:33 -0400 (EDT) Received: (nullmailer pid 2660908 invoked by uid 1000); Mon, 24 May 2021 00:08:32 -0000 From: David Bremner To: notmuch@notmuchmail.org Cc: David Bremner Subject: [PATCH 1/2] make _alloc_notmuch static Date: Sun, 23 May 2021 21:08:28 -0300 Message-Id: <20210524000829.2660860-1-david@tethera.net> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Message-ID-Hash: VULVZETXIBLVMI5F43U464SY6CKJTL7I X-Message-ID-Hash: VULVZETXIBLVMI5F43U464SY6CKJTL7I X-MailFrom: bremner@tethera.net 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=1621814920; 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; bh=83NF5G/0t5c031gB7gGOcrl/h2e015qUK/DEBBa25do=; b=jNOyL6JGNoTMrFLCax0ImeH/An+IveTdjZw9JhkX/1FhefV0xA8EEFSLI0gyTC1gtz9yrf caFf0uQHYP5my/tnxYnVAFpcNf1ueqlMz3IbDO0qPdtK8g+4cUXLxLzZOfjSeHbaka20eR b/aFTrDYhTzO0z1W119RtjtmP6T25LK/6N6tolS6d2l4E4hpPZ1mUJj31Z0zQsl9Ytm0Hp yOJsPfBQPxxCtUkXTu50PS/OeWlM9Oa3fdT9utrKEizcF3o32nTmXWDULFbRBunT5I1XhO +RPVvyASIpcoSiDMnyB+ZAFlMKceM7852Sg3QGoZD9AmLJoFFK3bgg5z/M8Vkg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1621814920; a=rsa-sha256; cv=none; b=Qgd8zj5GlafEzR795dkLw0DSUAVjqXypPOb/1GEJLjKTOzu3SCYeuBL76YAgIzkXH2RUrl iKoUeBeNUdNh2JSJNTAKJL1m6ueD8qceFIt1JsNnRbEGycoocJJ+IwEZHbamrounbaTwuL kmFG13cd9Z+oHLEC146VXzMKarnLrbX/mbx5rFMfdKibpVpYGuzXvUAj/475bk0eIvHZsQ +upZ3LnfopE2Cn4BmiJ3X4VulMAzH/riqYJVfkIhKydtAZ5BCAa3fWOdUvyynT441Z1Yc9 ed3/khry3+UwCuNnXc/9MXmJ/5nTKSiCukWP7fNMdyEuYPVZzPzdxBbxve7pcQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 144.217.243.247 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -1.07 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 144.217.243.247 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: E6CA713B89 X-Spam-Score: -1.07 X-Migadu-Scanner: scn0.migadu.com X-TUID: KCwZCXUXTQWr It is not used outside this file, so being extern seems like an oversight --- lib/open.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/open.cc b/lib/open.cc index 1ca69665..bf166e15 100644 --- a/lib/open.cc +++ b/lib/open.cc @@ -242,7 +242,7 @@ _choose_database_path (void *ctx, return NOTMUCH_STATUS_SUCCESS; } -notmuch_database_t * +static notmuch_database_t * _alloc_notmuch () { notmuch_database_t *notmuch; -- 2.30.2