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 _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "[email protected]"
