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

timebase.h: include inttypes.h

parent c2108b39
#include <stdio.h>
#include "cdi.h" /* CALENDAR_ */
#include <inttypes.h>
#include "timebase.h"
......@@ -303,7 +302,7 @@ int main(void)
int year, month, day, hour, minute, second;
int value = 30;
int factor = 86400;
calendar = CALENDAR_360DAYS;
year=1979; month=1; day=15; hour=12; minute=30; second = 0;
......
......@@ -3,7 +3,7 @@
#include <math.h> /* for floor() */
#include "cdi.h"
#include "timebase.h"
/* convert Julian date into year, months, day */
void decode_julday(int calendar,
......
#ifndef _TIMEBASE_H
#define _TIMEBASE_H
#include <inttypes.h>
/* date format: YYYYMMDD */
/* time format: hhmmss */
......
Markdown is supported
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