]> git.ipfire.org Git - thirdparty/util-linux.git/commit - misc-utils/cal.c
cal: improve coding style
authorKarel Zak <kzak@redhat.com>
Tue, 28 May 2013 13:33:05 +0000 (15:33 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 28 May 2013 13:33:05 +0000 (15:33 +0200)
commitd4be073d191067bf7b36dbe376289e670b3d3206
treea59634f385762144cef3da2b7a69ce738947329d
parent201b39f0019ae0fab34459bf6ec8b86773fb0b72
cal: improve coding style

 - use static for all global variables
 - use REFORMATION_YEAR macro
 - make if() lines more readable
 - etc.

Signed-off-by: Karel Zak <kzak@redhat.com>
misc-utils/cal.c