git: calendar(1): Various cleanups
Aaron LI
aly at crater.dragonflybsd.org
Sat Nov 9 21:11:51 PST 2019
commit cd0cff3392ab64e19edd6ec29b179fa96f4c556c
Author: Aaron LI <aly at aaronly.me>
Date: Tue Nov 5 23:23:06 2019 +0800
calendar(1): Various cleanups
* Mostly style cleanups.
* Use 'bool' when more appropriate.
* Staticize several functions and variables to clean up 'calendar.h'.
Summary of changes:
usr.bin/calendar/calendar.c | 48 +++++------
usr.bin/calendar/calendar.h | 22 ++---
usr.bin/calendar/calendars/calendar.australia | 2 +-
usr.bin/calendar/calendars/calendar.brazilian | 2 +-
usr.bin/calendar/calendars/calendar.dutch | 5 ++
usr.bin/calendar/calendars/calendar.newzealand | 2 +-
usr.bin/calendar/calendars/calendar.southafrica | 2 +-
usr.bin/calendar/dates.c | 33 ++++----
usr.bin/calendar/day.c | 12 +--
usr.bin/calendar/events.c | 15 ++--
usr.bin/calendar/io.c | 104 +++++++++++++-----------
usr.bin/calendar/locale.c | 7 +-
usr.bin/calendar/ostern.c | 5 +-
usr.bin/calendar/parsedata.c | 84 ++++++++++---------
usr.bin/calendar/paskha.c | 20 +++--
usr.bin/calendar/pom.c | 45 +++-------
usr.bin/calendar/sunpos.c | 35 ++++----
17 files changed, 206 insertions(+), 237 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/cd0cff3392ab64e19edd6ec29b179fa96f4c556c
--
DragonFly BSD source repository
More information about the Commits
mailing list