clock: binary: binary cleanups
While implementing a true binary time clock I came up with many areas of opportunity in the binary clock code.
I sent these patches more than three years ago (issue #235 (closed)), and a month ago the issue was closed with zero consideration.
The cleanups are obvious so I'm sending the first four patches to be properly reviewed.
Fixes #622 (closed).
Edited by Gaël Bonithon