chiark / gitweb /
unit: unify some code