Debian Codegraph @

config/tod.c

raw symbols SCIP
1 #include <sys/time.h>
2 #include <stdlib.h>
3
4 #undef _ANSI_ARGS_
5 #if defined(USE_PROTOTYPE) || ((defined(__STDC__) || defined(SABER)) && !defined(NO_PROTOTYPE)) || defined(__cplusplus)
6 # define _USING_PROTOTYPES_ 1
7 # define _ANSI_ARGS_(x) x
8 #else
9 # define _ANSI_ARGS_(x) ()
10 #endif
11
12 #ifdef TIMEOFDAY_NO_TZ
13 #define Tk_timeofday(x) gettimeofday(x)
14 extern int gettimeofday _ANSI_ARGS_((struct timeval *tp));
15 #else
16 #ifdef TIMEOFDAY_TZ
17 #define Tk_timeofday(x) gettimeofday(x, (struct timezone *) 0)
18 extern int gettimeofday _ANSI_ARGS_((struct timeval *tp ,struct timezone *tzp));
19 #else
20 #define Tk_timeofday(x) gettimeofday(x, (void *) 0)
21 #ifdef TIMEOFDAY_DOTS
22 extern int gettimeofday _ANSI_ARGS_((struct timeval *tp, ...));
23 #else
24 extern int gettimeofday _ANSI_ARGS_((struct timeval *tp, void *));
25 #endif
26 #endif
27 #endif
28
29 int main()
30 {
31 struct timeval t;
32 Tk_timeofday(&t);
33 return 0;
34 }