projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b378fdd
)
common: define time_t as 64bit
author
Heinrich Schuchardt
<heinrich.schuchardt@canonical.com>
Sat, 15 Jul 2023 07:16:59 +0000
(09:16 +0200)
committer
Tom Rini
<trini@konsulko.com>
Tue, 25 Jul 2023 16:44:46 +0000
(12:44 -0400)
To avoid the year 2038 problem time_t must be 64bit on all architectures.
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
include/linux/types.h
patch
|
blob
|
history
diff --git
a/include/linux/types.h
b/include/linux/types.h
index
baa2c49
..
9df930a
100644
(file)
--- a/
include/linux/types.h
+++ b/
include/linux/types.h
@@
-65,7
+65,7
@@
typedef __kernel_ptrdiff_t ptrdiff_t;
#ifndef _TIME_T
#define _TIME_T
-typedef
__kernel_time_t
time_t;
+typedef
long long
time_t;
#endif
#ifndef _CLOCK_T