]> diplodocus.org Git - nmh/commit
tws.h: Remove redundant TW_SZONE and TW_SZNIL bit-masks.
authorRalph Corderoy <ralph@inputplus.co.uk>
Sun, 23 Apr 2017 12:18:20 +0000 (13:18 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Sun, 23 Apr 2017 12:18:20 +0000 (13:18 +0100)
commit4db310433eb20ec95643299b0d14fefaea44b8bd
treea4a3a1a5fd554e531845c250869fd17fc93cb6a5
parentb5f387a8a688647ce765609890a6ab86d3257c04
tws.h: Remove redundant TW_SZONE and TW_SZNIL bit-masks.

TW_SZONE is a mask of one bit that can either be 0, TW_SZNIL, or set,
TW_SZEXP.  Rather than three macros for the single  bit, have one,
TW_SZEXP.  Simplifies the test too when the mask is known to be one-bit
wide.
h/tws.h
sbr/dtime.c
sbr/fmt_scan.c