repo.or.cz
/
zpugcc
/
jano.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fixes for host gcc 4.6.1
[zpugcc/jano.git]
/
toolchain
/
gcc
/
newlib
/
libc
/
syscalls
/
systimes.c
blob
353553be7b21d2b4382377f00cf1c15e50ef916a
1
/* connector for times */
2
3
#include <reent.h>
4
#include <sys/times.h>
5
6
clock_t
7
_DEFUN
(
times
, (
buf
),
8
struct
tms
*
buf
)
9
{
10
#ifdef REENTRANT_SYSCALLS_PROVIDED
11
return
_times_r
(
_REENT
,
buf
);
12
#else
13
return
_times
(
buf
);
14
#endif
15
}