Mark Atwood via devel :
> Putting the globals into a controlled struct make them easier to reason
> about, both for humans and for source code analysis. And even if the
> resulting struct is little more than the "globals dumping ground", it does
> force that they all be declared in one single plac
Putting the globals into a controlled struct make them easier to reason
about, both for humans and for source code analysis. And even if the
resulting struct is little more than the "globals dumping ground", it does
force that they all be declared in one single place, in a place where you
have to
> I've been looking at the code around mode 6 generation and discovered that
> in some areas it's still globals all the way down. Translating these
> globals will make future refactoring/translating easier.
I'm missing the big idea.
The current case is that we have a lot of global variables.
Ian Bruene via devel :
>
> Future project: refactoring ntpd's system variables into a struct.
>
> I've been looking at the code around mode 6 generation and discovered that
> in some areas it's still globals all the way down. Translating these globals
> will make future refactoring/translating ea
Mark Atwood via devel :
> Those both sound like good ideas. ..m
>
> On Tue, Feb 20, 2018 at 10:03 PM Hal Murray via devel
> wrote:
>
> >
> > There are two projects I've had my eye on for a while.
> >
> > The first is to remove the input buffer queue. That's leftover from before
> > kernels sup
Future project: refactoring ntpd's system variables into a struct.
I've been looking at the code around mode 6 generation and discovered
that in some areas it's still globals all the way down. Translating
these globals will make future refactoring/translating easier.
--
/"In the end; what se
Those both sound like good ideas. ..m
On Tue, Feb 20, 2018 at 10:03 PM Hal Murray via devel
wrote:
>
> There are two projects I've had my eye on for a while.
>
> The first is to remove the input buffer queue. That's leftover from before
> kernels supported time stamps on received network packe