Re: Use LIST for upd(4) sensors

2015-04-01 Thread Martin Pieuchot
On 31/03/15(Tue) 23:06, David Higgs wrote: This was much more straightforward than expected. - Replace an array with a LIST of allocated sensors. - Remove or rescope variables counting sensors. - Allocated sensors are always attached. - Drop an unnecessary size calculation. Do you need

Re: Use LIST for upd(4) sensors

2015-04-01 Thread David Higgs
On Wed, Apr 1, 2015 at 7:52 AM, Martin Pieuchot m...@openbsd.org wrote: On 31/03/15(Tue) 23:06, David Higgs wrote: This was much more straightforward than expected. - Replace an array with a LIST of allocated sensors. - Remove or rescope variables counting sensors. - Allocated sensors

Use LIST for upd(4) sensors

2015-03-31 Thread David Higgs
This was much more straightforward than expected. - Replace an array with a LIST of allocated sensors. - Remove or rescope variables counting sensors. - Allocated sensors are always attached. - Drop an unnecessary size calculation. Thanks. --david --- a/upd.c +++ b/upd.c @@ -23,6 +23,7 @@