Commit 52253daf authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

delare calendar functions as extern C

parent dc9e0025
#ifndef _CALENDAR_H
#define _CALENDAR_H
#ifdef __cplusplus
extern "C" {
#endif
void encode_caldaysec(int calendar, int year, int month, int day, int hour, int minute, int second,
int *julday, int *secofday);
void decode_caldaysec(int calendar, int julday, int secofday,
void decode_caldaysec(int calendar, int julday, int secofday,
int *year, int *month, int *day, int *hour, int *minute, int *second);
int calendar_dpy(int calendar);
int days_per_year(int calendar, int year);
int days_per_month(int calendar, int year, int month);
#if defined (__cplusplus)
}
#endif
#endif /* _CALENDAR_H */
/*
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment