projects
/
libc-test
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
math: fix the type of the return value
[libc-test]
/
src
/
api
/
sys_times.c
1
#include <sys/times.h>
2
#define T(t) (t*)0;
3
#define F(t,n) {t *y = &x.n;}
4
#define C(n) switch(n){case n:;}
5
static void f()
6
{
7
T(clock_t)
8
{
9
struct tms x;
10
F(clock_t,tms_utime)
11
F(clock_t,tms_stime)
12
F(clock_t,tms_cutime)
13
F(clock_t,tms_cstime)
14
}
15
{clock_t(*p)(struct tms*) = times;}
16
}