From patchwork Fri Oct 20 10:46:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philip Oberfichtner X-Patchwork-Id: 1852462 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=denx.de header.i=@denx.de header.a=rsa-sha256 header.s=phobos-20191101 header.b=bl4pK0Ek; dkim=pass (2048-bit key) header.d=denx.de header.i=@denx.de header.a=rsa-sha256 header.s=phobos-20191101 header.b=BO532+9m; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4SBhBq63Tpz20cX for ; Fri, 20 Oct 2023 21:48:19 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 174448745B; Fri, 20 Oct 2023 12:48:17 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1697798897; bh=q0zIWbw1Njmrz4PE+/M40ibLRIUdlgbQ+JvEgama7cw=; h=From:To:Cc:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=bl4pK0EkZKM1cDia0yVRbJfGfjRNVNi6KIOmn5+/HlWwZTJTk8eS284Yt4NBQgyOx 2+ELJ3P4UESrSLTEpi5dL2JdWRQikyvRjC5ixCHzwBoryq413MkNJyjwjmQ77+VQuT o3t/XfQIZDRbVU8M/N1qefAlXSsiVb/f0kt2xWd9CK6Pl+Npx9txTx6B7cfwhep3Q3 EzNznktBfDTrbMh9hVwxRLSANoKycb+LIL8xtwtDDC8alDhrvoDlLrKvlLZCQRjyWK 8F/X9XUkRRlKCvTp5KTdOendtTbXkzuYQAxdYpuNwNQwK+E1FMQcjCXfirr++gSerE X6zKp19Nzv3bA== Received: from localhost (unknown [185.51.87.24]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: pro@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 463A68745B; Fri, 20 Oct 2023 12:48:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1697798896; bh=q0zIWbw1Njmrz4PE+/M40ibLRIUdlgbQ+JvEgama7cw=; h=From:To:Cc:Subject:Date:From; b=BO532+9mCZ/+mQzmbNcXa/0NSYrqV81f26WxFcRdnoL3zDTHg1f9FAlf8Wv7qXWyM FNNn4vrWEpdgB7cNPmIpXPQVAEjlwMRBiCnB4p9NaUH22xeXP1YtNv9Ii48FNTsEyT A4v/DwbVQpEjutwB2bzFsc51dyAuigSmQWDOr74KvKrzQxWeT9w5podxIAcGZ9x3yb Bznr/hzHm9Yi89HmqDn3VD3hjn5hvZEI0HgrW3JnaVSdX4PXPwm8VoGbMQbOaPzudv RgCLqiloadbswGDELtXPj2hKHV5wB4puYbNmSXCsJcnt80QOSlpsWo0MC7V4bJHBHb TywizOZOMvkDQ== From: Philip Richard Oberfichtner To: u-boot@lists.denx.de Cc: Philip Richard Oberfichtner Subject: [RFC] CTAGS prototypes Date: Fri, 20 Oct 2023 12:46:07 +0200 Message-ID: <20231020104606.23305-2-pro@denx.de> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean Hi, is there a specific reason why the ctags make target is compiled without using '--kinds-c=+p'? Maybe it would make sense to (optionally) include that in the Makefile? I personally find it useful to jump to the header where a function is declared to view the documentary comment. Or am I missing another option to quickly get there? Regards, Philip diff --git a/Makefile b/Makefile index e0040a40d3..7f108330a5 100644 --- a/Makefile +++ b/Makefile @@ -2085,7 +2085,7 @@ FIND := find FINDFLAGS := -L tags ctags: - ctags -w -o ctags `$(FIND) $(FINDFLAGS) $(TAG_SUBDIRS) \ + ctags -w -o ctags --kinds-c=+p `$(FIND) $(FINDFLAGS) $(TAG_SUBDIRS) \ -name '*.[chS]' -print` ln -s ctags tags