calendar_functions.c: added skeleton