projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
251ec1c
)
y2038: sh: remove timeval/timespec usage from headers
author
Arnd Bergmann
<arnd@arndb.de>
Sun, 15 Dec 2019 20:35:04 +0000
(21:35 +0100)
committer
Arnd Bergmann
<arnd@arndb.de>
Wed, 18 Dec 2019 17:07:33 +0000
(18:07 +0100)
This header file escaped my earlier cleanups for removing
the in-kernel usage of timeval and timespec structs.
Replace them with the corresponding __kernel_old_* types.
Acked-by: Rich Felker <dalias@libc.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/sh/include/uapi/asm/sockios.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/sh/include/uapi/asm/sockios.h
b/arch/sh/include/uapi/asm/sockios.h
index ef18a668456d74df9759e4e0cb54487e0685781c..3da561453260cbbc3f4e6da45fe267dfc0a053d2 100644
(file)
--- a/
arch/sh/include/uapi/asm/sockios.h
+++ b/
arch/sh/include/uapi/asm/sockios.h
@@
-10,7
+10,7
@@
#define SIOCSPGRP _IOW('s', 8, pid_t)
#define SIOCGPGRP _IOR('s', 9, pid_t)
-#define SIOCGSTAMP_OLD _IOR('s', 100, struct timeval) /* Get stamp (timeval) */
-#define SIOCGSTAMPNS_OLD _IOR('s', 101, struct timespec) /* Get stamp (timespec) */
+#define SIOCGSTAMP_OLD _IOR('s', 100, struct
__kernel_old_
timeval) /* Get stamp (timeval) */
+#define SIOCGSTAMPNS_OLD _IOR('s', 101, struct
__kernel_old_
timespec) /* Get stamp (timespec) */
#endif /* __ASM_SH_SOCKIOS_H */