struct timespec32: change types of tv_sec and tv_nsec fields to signed

to match native struct timespec ABI on __LP32__.

This change is a prerequisite for upcoming futimens()/utimensat() in whose
implementations it is assumed that timespec32 can take a negative value.

MFC after:	1 week
This commit is contained in:
Sergey Kandaurov 2011-11-11 07:17:00 +00:00
parent 4d651f4e5f
commit 81f7f2c4db
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=227447

View File

@ -52,8 +52,8 @@ struct timeval32 {
} while (0)
struct timespec32 {
u_int32_t tv_sec;
u_int32_t tv_nsec;
int32_t tv_sec;
int32_t tv_nsec;
};
#define TS_CP(src,dst,fld) do { \
CP((src).fld,(dst).fld,tv_sec); \