[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180518170605.GA22641@infradead.org>
Date: Fri, 18 May 2018 10:06:05 -0700
From: Christoph Hellwig <hch@...radead.org>
To: Simon Que <sque@...omium.org>
Cc: linux-kernel@...r.kernel.org
Subject: Re: Should new code have forward declarations of static functions or
not?
On Fri, May 18, 2018 at 12:44:31PM -0400, Simon Que wrote:
> Is it preferred to have forward declarations of static funcs, or to omit
> them altogether?
There are cases where you need them. But in general if you do not
absolutely need them try to avoid them.
Powered by blists - more mailing lists