summaryrefslogtreecommitdiff
path: root/lib/gtod.h
blob: 3372416f7861759f31fbb2a643cf111b794a391c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef GTOD_H
# define GTOD_H 1

# ifndef PARAMS
#  if defined PROTOTYPES || (defined __STDC__ && __STDC__)
#   define PARAMS(Args) Args
#  else
#   define PARAMS(Args) ()
#  endif
# endif

void GTOD_init PARAMS ((void));

/* This is a no-op on compliant systems.  */
# if GETTIMEOFDAY_CLOBBERS_LOCALTIME_BUFFER
#  define GETTIMEOFDAY_INIT() GTOD_init ()
# else
#  define GETTIMEOFDAY_INIT() /* empty */
# endif

#endif