]> git.ipfire.org Git - thirdparty/util-linux.git/commit - misc-utils/cal.c
cal: clean up use of constants
authorSami Kerola <kerolasa@iki.fi>
Sun, 28 Apr 2013 08:06:40 +0000 (09:06 +0100)
committerSami Kerola <kerolasa@iki.fi>
Sun, 26 May 2013 08:59:18 +0000 (09:59 +0100)
commit5f845cb765f246f0f83d678385ab6f87e05edf73
tree4beab29fac2f53262e7dc005842c74658cda509d
parent3b66dfd6bb4abe6304c366809f4b9613fdc62eab
cal: clean up use of constants

The commit also adds few new symbolic names, such as DAYS_IN_WEEK.  While
these definitions may look a little too trivial to have I am sure they
ease understanding what is going on in code where they are used.

Reviewed-by: Thomas Bächler <thomas@archlinux.org>
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
misc-utils/cal.c