summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorperry <perry@NetBSD.org>2006-10-15 15:32:42 +0000
committerperry <perry@NetBSD.org>2006-10-15 15:32:42 +0000
commit35a6eb48071426298bfcf48e850230d8be91a8a4 (patch)
tree750005bf25e965331e7bfc804523f874c28c3a3f /include
parent7bce0c72166d1aa5dfd28156fd2ae3e59e54b6ba (diff)
Make the declarations of wday_name and mon_name less eccentric. I
suppose they were legal before, but lint was unhappy about them. It was probably unhappy for the wrong reasons, but I think it certainly wasn't something one would want anyway. Declaring a string of length three to have storage of length three without room for the nul is asking for trouble even if it does work in context, and there was no reason not to state how many days there are in a week or months in a year -- they aren't onerous and aren't going to change. NOTE: If this code isn't being synced with the central TZCODE stuff, it probably should be KNFed etc. It is full of K&R declarations, register, lots of eccentricities, etc.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions