]> diplodocus.org Git - nmh/commit
sbr/lock_file.c: Move static variables into their functions.
authorRalph Corderoy <ralph@inputplus.co.uk>
Fri, 21 Apr 2017 23:48:47 +0000 (00:48 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Fri, 21 Apr 2017 23:48:47 +0000 (00:48 +0100)
commitaf4a4f3cf9d59705d280ea5c0798fc737c863725
tree4404c5f02b281b63c985f514bdc3cdd8138b8368
parent77bd4fc7347961a3436393f4de70b0acca475ecc
sbr/lock_file.c: Move static variables into their functions.

A couple of file-scoped statc ints were the typical "if this function is
being called for the first time" flags.  Move each into their respective
functions.  Make them bools.  Name them so the initial value is zero,
thus placing them in BSS.
sbr/lock_file.c