From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id EPLUGVzZZWFAkQAAgWs5BA (envelope-from ) for ; Tue, 12 Oct 2021 20:52:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id MPh7FVzZZWHpTgAA1q6Kng (envelope-from ) for ; Tue, 12 Oct 2021 18:52:12 +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 EAC8A3D73B for ; Tue, 12 Oct 2021 20:52:11 +0200 (CEST) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 1D3932C172; Tue, 12 Oct 2021 14:51:45 -0400 (EDT) Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) by mail.notmuchmail.org (Postfix) with ESMTPS id 1CBE22C14B for ; Tue, 12 Oct 2021 14:51:41 -0400 (EDT) Received: by mail-lf1-x12c.google.com with SMTP id i24so880773lfj.13 for ; Tue, 12 Oct 2021 11:51:41 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=Jk4Xh2NqCvehjiGVMxOXc1mBFm8tz9D/RCnBHS189Uw=; b=T2Yvq/MNsgraFPz8Qp/XK/J4zEkjUnTlfvjzeXfoacoz6D6r+jh9KbIS8jXFyQX3Ce 9DYslapDliB95Jh5SlbSN3cde2qvyOAGWE+GDux6a9Cston+u7yvEPExnZx1NVBT/uAK LQSF5HEjIC2CM5xom0BLX2a1Y1r5sumDmnFPnSHgr7JiLDpvui/DQpFocunBFQpb/oiA +PyEAyv0rSwGyLWkMVudRtuG/fqQNl39r2zdWeEtI1UgppQ/Nof5Z07yuEuoDUrTDlLq Uiflr9fNH+bXpirnC33KXUFbQvQXat9FJNzcTtqhQlXRpZKQiREDW4DXKguW1EzVK8ZC OoiQ== 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=Jk4Xh2NqCvehjiGVMxOXc1mBFm8tz9D/RCnBHS189Uw=; b=tvP09NoAk3EYeP65AsRIz5+hmKD7rFsJx4dg8m1Ze8Vklf1VXzl7tMNBBRfokLx8Pq Jf547196U7RTgUgL4GJ9TwsnsXNOzhEpSeL+AD1qneI1CrpN94VtLcDbWKvlGSY8Flj7 o5vbDr2akpn1FusLf+hZnPr5HNjFYKYQmankEZ4CU+PthVIOaHLVh9j0/YawKoM4u4KX neSFaTEC0fNB0+s4X3W0hR+0sDdbL+GW0Ekj+phD6418BrY0x3Y4qNt6GILpYaGtJjsc f2JEuNYv8JIO+ySPFMjYa/2QrK8ZXiOne7VhigSEh04v94NBYIzc2XDALL4Dj3FBeryL 9l3Q== X-Gm-Message-State: AOAM532oCd7X3n/9Db7SAqivHBeCUdDCsu0gJOcNP4p7Dne3youw1O3c kS+hWDsXQnrOSKQ3PDuALnmGKfNPOIWMcMMLdFUWJQ== X-Google-Smtp-Source: ABdhPJx8esNbHDnYwTUxJojTZY2RY+3/5Z09/nVmpH54kO6QJH6jsgNW0vGrzLe1FqXgSLx8P1Rixw== X-Received: by 2002:a19:ca54:: with SMTP id h20mr34632873lfj.6.1634064699612; Tue, 12 Oct 2021 11:51:39 -0700 (PDT) Received: from localhost (87-95-50-104.bb.dnainternet.fi. [87.95.50.104]) by smtp.gmail.com with ESMTPSA id s7sm1099567lfe.258.2021.10.12.11.51.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Oct 2021 11:51:39 -0700 (PDT) From: Jani Nikula To: notmuch@notmuchmail.org Cc: jani@nikula.org Subject: [RFC 4/5] lib: remove #ifndef __DOXYGEN__ conditions Date: Tue, 12 Oct 2021 21:51:26 +0300 Message-Id: <20211012185127.198348-5-jani@nikula.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211012185127.198348-1-jani@nikula.org> References: <20211012185127.198348-1-jani@nikula.org> MIME-Version: 1.0 Message-ID-Hash: E7TMBVZXBBMNFSQ4BF4ARNHLWZINTSF4 X-Message-ID-Hash: E7TMBVZXBBMNFSQ4BF4ARNHLWZINTSF4 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=1634064732; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=SwYVYKsLSBQZq7hlc8cGcULGymi/P9OHnEJpNRRZCXw=; b=rks3SWsdRCG5Ln9rDDi0SUmiPx79Ui7McTzi9pzdxI8eHtM0o5axqkgVZKsj5/mdPsqmHs aWFblUSvTcObtluwAlO5dK872dgGvNTgt18PAUYYv4Jltqjxdapt/k0afBlikLCInzR6p0 8YzfsD5irgCeIEc6xSoxbOmTlza/gxoV4cy/qufoXAqu2bc12dSyUIRKrp5AO79eX4hMxa MlRTT8Jni0oYCsw8ftGJXsUI9xU7U5ZK/9qpaB+KUzw4eBfBgPg7+DVSHG8LxKNlaE5/pG kuOL8oAhCYZaQsP0IsFFdCwbiGAuJfoudm9deUL1zydhMoPEwmU97iPKkGOesQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1634064732; a=rsa-sha256; cv=none; b=Zc4YSGqjWqsA7dtkXYl+XZAZPt6MVRqDi82vY0vN3+gYIRgBoSvrLPYr2kLG/YlNtLUeyU qoc2hJSnhGtXv8ItgzAPOKwjuYkXxs8JryiBAYqGnLL2XEk7V8IvGk59OBTlo2adpkJNmp JZA4BqMtXPXIAcI3tooprry14/E+4mKtaYTs01Hoyf0bzmdfw2lypRcRZ4nOaHUmAoGwa1 FSosXjqbOmxCt7GhFufE2GYLG+6Q3CzemxcSPo7uhyktWtd9JNFxaGMYm1YDcm/YUxIZGR 8BwVy+tr2AwJLQyeq2xsFPpE9egPASBxR5d0UqVniqCgbVEkN2LksjiZaZoi7A== 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="T2Yvq/MN"; 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.18 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=nikula-org.20210112.gappssmtp.com header.s=20210112 header.b="T2Yvq/MN"; 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: EAC8A3D73B X-Spam-Score: -0.18 X-Migadu-Scanner: scn0.migadu.com X-TUID: DMGCwzKBMtMN These are now unnecessary. Hawkmoth does not require similar constructs. --- lib/notmuch.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/lib/notmuch.h b/lib/notmuch.h index abbc5ace9d1b..700e9b7b25c1 100644 --- a/lib/notmuch.h +++ b/lib/notmuch.h @@ -29,8 +29,6 @@ #ifndef NOTMUCH_H #define NOTMUCH_H -#ifndef __DOXYGEN__ - #ifdef __cplusplus # define NOTMUCH_BEGIN_DECLS extern "C" { # define NOTMUCH_END_DECLS } @@ -71,9 +69,6 @@ NOTMUCH_BEGIN_DECLS #define NOTMUCH_DEPRECATED(major, minor) __attribute__ ((deprecated)) #endif - -#endif /* __DOXYGEN__ */ - /** * Check the version of the notmuch library being compiled against. * @@ -241,7 +236,6 @@ notmuch_status_to_string (notmuch_status_t status); /* Various opaque data types. For each notmuch__t see the various * notmuch_ functions below. */ -#ifndef __DOXYGEN__ typedef struct _notmuch_database notmuch_database_t; typedef struct _notmuch_query notmuch_query_t; typedef struct _notmuch_threads notmuch_threads_t; @@ -255,7 +249,6 @@ typedef struct _notmuch_config_list notmuch_config_list_t; typedef struct _notmuch_config_values notmuch_config_values_t; typedef struct _notmuch_config_pairs notmuch_config_pairs_t; typedef struct _notmuch_indexopts notmuch_indexopts_t; -#endif /* __DOXYGEN__ */ /** * Create a new, empty notmuch database located at 'path'. -- 2.30.2