public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3713682
)
times: correct returned type to be clock_t
author
Alan Cox
<alan@linux.intel.com>
Fri, 2 Jan 2015 10:09:18 +0000
(10:09 +0000)
committer
Alan Cox
<alan@linux.intel.com>
Fri, 2 Jan 2015 10:09:18 +0000
(10:09 +0000)
From: Sergio L. Pascual <https://github.com/slp/FUZIX>
Library/include/sys/times.h
patch
|
blob
|
history
diff --git
a/Library/include/sys/times.h
b/Library/include/sys/times.h
index
dbfbf63
..
4897c87
100644
(file)
--- a/
Library/include/sys/times.h
+++ b/
Library/include/sys/times.h
@@
-3,11
+3,11
@@
/* User's structure for times() system call */
struct tms {
-
time_t
tms_utime;
-
time_t
tms_stime;
-
time_t
tms_cutime;
-
time_t
tms_cstime;
-
time_t
tms_etime; /* Elapsed real time */
+
clock_t
tms_utime;
+
clock_t
tms_stime;
+
clock_t
tms_cutime;
+
clock_t
tms_cstime;
+
clock_t
tms_etime; /* Elapsed real time */
};
extern int times(struct tms *tms);