9cfd4d8d8b
modify Makefiles accordingly define __unix__ on Unix like clones (OSX, AIX, etc).
17 lines
313 B
C
17 lines
313 B
C
#ifndef LEAPSECS_H
|
|
#define LEAPSECS_H
|
|
|
|
extern int leapsecs_init(void);
|
|
extern int leapsecs_read(const char *file);
|
|
|
|
extern void leapsecs_add(struct tai *t, int hit);
|
|
extern int leapsecs_sub(struct tai *t);
|
|
|
|
#ifndef GLOBAL
|
|
#define GLOBAL extern
|
|
#endif
|
|
|
|
GLOBAL struct tai *leapsecs;
|
|
GLOBAL int leapsecs_num;
|
|
#endif
|