Re: apmd: zap useless globals

2019-07-21 Thread Ted Unangst
Klemens Nanni wrote: > Initialize stack variables directly instead of using global state in > between. > > OK? sure

apmd: zap useless globals

2019-07-21 Thread Klemens Nanni
Initialize stack variables directly instead of using global state in between. OK? Index: apmd.c === RCS file: /cvs/src/usr.sbin/apmd/apmd.c,v retrieving revision 1.85 diff -u -p -r1.85 apmd.c --- apmd.c 28 Jun 2019 13:32:46