16 lines
191 B
C
16 lines
191 B
C
|
#ifndef __TIME_H
|
||
|
#define __TIME_H
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
void time_init(void);
|
||
|
int elapsed(int *last_event, int period);
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
#endif /* __TIME_H */
|