Commit dc9e0025 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

delare timebase functions as extern C

parent b8978127
......@@ -3,6 +3,10 @@
#include <inttypes.h>
#ifdef __cplusplus
extern "C" {
/* date format: YYYYMMDD */
/* time format: hhmmss */
......@@ -22,6 +26,10 @@ double julday_sub(int julday1, int secofday1, int julday2, int secofday2, int *d
void encode_juldaysec(int calendar, int year, int month, int day, int hour, int minute, int second, int *julday, int *secofday);
void decode_juldaysec(int calendar, int julday, int secofday, int *year, int *month, int *day, int *hour, int *minute, int *second);
#if defined (__cplusplus)
#endif /* _TIMEBASE_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