From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ig0-f180.google.com (mail-ig0-f180.google.com [209.85.213.180]) by krisdoz.my.domain (8.14.5/8.14.5) with ESMTP id s9C8imbT020498 for ; Sun, 12 Oct 2014 04:44:50 -0400 (EDT) Received: by mail-ig0-f180.google.com with SMTP id uq10so7397682igb.13 for ; Sun, 12 Oct 2014 01:44:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references :comments:mime-version:content-type:content-id:date:message-id; bh=eh/ElJhTP9pQkzHPzpiz9gAIFmo/7K7fRa9tdYVGtnY=; b=mgz3E+mfkrX7Gd95bn4TjceyTa4Kn41rdQbRap2vU5wip8TE8YWoFxn+mU3mKP0ZDk rnn4mMk/R8YcWishhbFvFAdlWJoF5t3tDSw+lFmyhLRndPAZYKpdCB3/BIbdPc9XE/9R jbSBFY2+l3/mGCoI0aWOGwWxIcuHUpbWCaI/kgh2Ej9OrcAa2kOEkiad5FFHlS5HnzYt XEwy7gszMoDaoNCFVGZeGWd+WlR5CZShzSYNfcS+qU9TeLcz9sFL/ZemCy+sqRveurR9 UY7UuA9yJ5LXrJyMSl2bPppnCN5VTfjjSwH85EvjJs0JhYzUYhstHdUDtcuE4XcSUMO1 JHag== X-Gm-Message-State: ALoCoQnXCyuVS0d6LymTwQh3d/ISTl84XAMv3kprrM+TGPbh4s+T3ADHU8qxw5ZqWb41eCteKXAD X-Received: by 10.43.64.134 with SMTP id xi6mr27985887icb.29.1413103482095; Sun, 12 Oct 2014 01:44:42 -0700 (PDT) Received: from cathet.us. (75-161-8-145.albq.qwest.net. [75.161.8.145]) by mx.google.com with ESMTPSA id m4sm5942211igr.20.2014.10.12.01.44.41 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 12 Oct 2014 01:44:41 -0700 (PDT) Received: from cathet.us (localhost [127.0.0.1]); by cathet.us. (OpenSMTPD) with ESMTP id 49451398; Sun, 12 Oct 2014 02:44:40 -0600 (MDT) From: "Anthony J. Bentley" To: discuss@mdocml.bsd.lv cc: wblock@wonkity.com Subject: Re: Feature request for -Tlint In-reply-to: <20141011212541.GZ30780@iris.usta.de> References: <2040.1412894767@cathet.us> <20141011212541.GZ30780@iris.usta.de> Comments: In-reply-to Ingo Schwarze message dated "Sat, 11 Oct 2014 23:25:41 +0200." X-Mailinglist: mdocml-discuss Reply-To: discuss@mdocml.bsd.lv MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <30482.1413103480.1@cathet.us> Date: Sun, 12 Oct 2014 02:44:40 -0600 Message-ID: <25656.1413103480@cathet.us> Hi Ingo, Ingo Schwarze writes: > > Of course, parentheses are allowed in arguments besides the first > > argument, but I can't think of any case where they're needed in > > the first one. > > Me neither, so i have committed the following patch. Thanks for implementing this. There are some cases (common in the LibreSSL manuals) that are false positives: SSL_CTX_set_info_callback(3): .Fn "(*SSL_CTX_get_info_callback(const SSL_CTX *ctx))" SSL_CTX_set_client_cert_cb(3): .Fn "(*client_cert_cb)" "SSL *ssl" "X509 **x509" "EVP_PKEY **pkey" Based on this I would suggest the warning only pick up trailing (), not just any parentheses in the first argument. Of course, if there's a better way to mark these up, I'd like to know... -- Anthony J. Bentley -- To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv