Skip to content

Commit 8c709f9

Browse files
committed
y2038: sh: remove timeval/timespec usage from headers
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 <[email protected]> Signed-off-by: Arnd Bergmann <[email protected]>
1 parent 251ec1c commit 8c709f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/sh/include/uapi/asm/sockios.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#define SIOCSPGRP _IOW('s', 8, pid_t)
1111
#define SIOCGPGRP _IOR('s', 9, pid_t)
1212

13-
#define SIOCGSTAMP_OLD _IOR('s', 100, struct timeval) /* Get stamp (timeval) */
14-
#define SIOCGSTAMPNS_OLD _IOR('s', 101, struct timespec) /* Get stamp (timespec) */
13+
#define SIOCGSTAMP_OLD _IOR('s', 100, struct __kernel_old_timeval) /* Get stamp (timeval) */
14+
#define SIOCGSTAMPNS_OLD _IOR('s', 101, struct __kernel_old_timespec) /* Get stamp (timespec) */
1515

1616
#endif /* __ASM_SH_SOCKIOS_H */

0 commit comments

Comments
 (0)