switch all existing 32-bit archs to 64-bit time_t
[musl] / arch / or1k / bits / sem.h
index 08faafe..d88338e 100644 (file)
@@ -1,11 +1,13 @@
 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;
        char __sem_nsems_pad[sizeof(long)-sizeof(short)];
        unsigned short sem_nsems;
        long __unused3;
        long __unused4;
+       time_t sem_otime;
+       time_t sem_ctime;
 };