svn commit: r353732 - head/sys/net

Gleb Smirnoff glebius at freebsd.org
Tue Oct 22 15:26:50 UTC 2019


On Tue, Oct 22, 2019 at 07:53:31AM -0700, Enji Cooper wrote:
E> > Author: glebius
E> > Date: Fri Oct 18 15:20:24 2019
E> > New Revision: 353732
E> > URL: https://svnweb.freebsd.org/changeset/base/353732
E> > 
E> > Log:
E> >  Make rt_getifa_fib() static.
E> 
E> Why should it be made static? The answer to this question is missing from the commit message.

Because a function used only in a scope of a single file and not
intended to be used outside should be made static.

-- 
Gleb Smirnoff


More information about the svn-src-head mailing list