switch all existing 32-bit archs to 64-bit time_t
[musl] / arch / sh / bits / sem.h
index d383d4e..544e3d2 100644 (file)
@@ -1,9 +1,9 @@
 struct semid_ds {
        struct ipc_perm sem_perm;
-       time_t sem_otime;
-       long __unused1;
-       time_t sem_ctime;
-       long __unused2;
+       unsigned long __sem_otime_lo;
+       unsigned long __sem_otime_hi;
+       unsigned long __sem_ctime_lo;
+       unsigned long __sem_ctime_hi;
 #if __BYTE_ORDER == __LITTLE_ENDIAN
        unsigned short sem_nsems;
        char __sem_nsems_pad[sizeof(long)-sizeof(short)];
@@ -13,4 +13,6 @@ struct semid_ds {
 #endif
        long __unused3;
        long __unused4;
+       time_t sem_otime;
+       time_t sem_ctime;
 };