[neomutt-devel] static functions

Guyzmo z+mutt+neomutt at m0g.net
Mon Mar 13 19:09:48 CET 2017


On Sun, Mar 12, 2017 at 04:12:51PM +0000, Richard Russon wrote:
> There are 73 *static* functions called mutt_*()
> That prefix is generally applied to global functions.
> Should I remove the prefix?

yes, we should, mutt_ is the application API, doing otherwise is
misleading (and mislead me a couple of times).

> Should we have a naming convention for static functions?

generally speaking, I don't think so, but there might be some casse
where namespacing might make sense.

-- 
Guyzmo


More information about the neomutt-devel mailing list