| author | |
| committer | |
| log | 9f20d01cfb593fb4959a1a16f786787477a3e91b |
| tree | d1e5348a64d2ad3b2fb294484c472926cf4b0aaf |
| parent | 8e9a33b82c1f8cbc457e7d0af37605952db0c4ae |
This reverts commit 54ea0bbcdddc9e13ed98415d8883f03d59392509.6 files changed, 0 insertions(+), 14 deletions(-)
lib/std/c.zig-5| ... | @@ -408,11 +408,6 @@ pub extern "c" fn setlogmask(maskpri: c_int) c_int; | ... | @@ -408,11 +408,6 @@ pub extern "c" fn setlogmask(maskpri: c_int) c_int; |
| 408 | 408 | ||
| 409 | pub extern "c" fn if_nametoindex([*:0]const u8) c_int; | 409 | pub extern "c" fn if_nametoindex([*:0]const u8) c_int; |
| 410 | 410 | ||
| 411 | pub extern "c" fn timer_create(clockid: c.clockid_t, sevp: *c.sigevent, timerid: *c.timer_t) c_int; | ||
| 412 | pub extern "c" fn timer_delete(timerid: c.timer_t) c_int; | ||
| 413 | pub extern "c" fn timer_settime(timerid: c.timer_t, flags: c_int, new_value: *const c.itimerspec, old_value: *c.itimerspec) c_int; | ||
| 414 | pub extern "c" fn timer_gettime(timerid: c.timer_t, flags: c_int, curr_value: *c.itimerspec) c_int; | ||
| 415 | |||
| 416 | pub usingnamespace if (builtin.os.tag == .linux and builtin.target.isMusl()) struct { | 411 | pub usingnamespace if (builtin.os.tag == .linux and builtin.target.isMusl()) struct { |
| 417 | // musl does not implement getcontext | 412 | // musl does not implement getcontext |
| 418 | pub const getcontext = std.os.linux.getcontext; | 413 | pub const getcontext = std.os.linux.getcontext; |
lib/std/c/dragonfly.zig-2| ... | @@ -1162,5 +1162,3 @@ pub const sigevent = extern struct { | ... | @@ -1162,5 +1162,3 @@ pub const sigevent = extern struct { |
| 1162 | }; | 1162 | }; |
| 1163 | 1163 | ||
| 1164 | pub const PTHREAD_STACK_MIN = 16 * 1024; | 1164 | pub const PTHREAD_STACK_MIN = 16 * 1024; |
| 1165 | |||
| 1166 | pub const timer_t = *opaque {}; |
lib/std/c/freebsd.zig-2| ... | @@ -2586,8 +2586,6 @@ pub const sigevent = extern struct { | ... | @@ -2586,8 +2586,6 @@ pub const sigevent = extern struct { |
| 2586 | }, | 2586 | }, |
| 2587 | }; | 2587 | }; |
| 2588 | 2588 | ||
| 2589 | pub const timer_t = *opaque {}; | ||
| 2590 | |||
| 2591 | pub const MIN = struct { | 2589 | pub const MIN = struct { |
| 2592 | pub const INCORE = 0x1; | 2590 | pub const INCORE = 0x1; |
| 2593 | pub const REFERENCED = 0x2; | 2591 | pub const REFERENCED = 0x2; |
lib/std/c/linux.zig-1| ... | @@ -100,7 +100,6 @@ pub const stack_t = linux.stack_t; | ... | @@ -100,7 +100,6 @@ pub const stack_t = linux.stack_t; |
| 100 | pub const tcflag_t = linux.tcflag_t; | 100 | pub const tcflag_t = linux.tcflag_t; |
| 101 | pub const termios = linux.termios; | 101 | pub const termios = linux.termios; |
| 102 | pub const time_t = linux.time_t; | 102 | pub const time_t = linux.time_t; |
| 103 | pub const timer_t = linux.timer_t; | ||
| 104 | pub const timespec = linux.timespec; | 103 | pub const timespec = linux.timespec; |
| 105 | pub const timeval = linux.timeval; | 104 | pub const timeval = linux.timeval; |
| 106 | pub const timezone = linux.timezone; | 105 | pub const timezone = linux.timezone; |
lib/std/c/netbsd.zig-2| ... | @@ -1723,5 +1723,3 @@ pub extern "c" fn ptrace(request: c_int, pid: pid_t, addr: ?*anyopaque, data: c_ | ... | @@ -1723,5 +1723,3 @@ pub extern "c" fn ptrace(request: c_int, pid: pid_t, addr: ?*anyopaque, data: c_ |
| 1723 | 1723 | ||
| 1724 | /// TODO refines if necessary | 1724 | /// TODO refines if necessary |
| 1725 | pub const PTHREAD_STACK_MIN = 16 * 1024; | 1725 | pub const PTHREAD_STACK_MIN = 16 * 1024; |
| 1726 | |||
| 1727 | pub const timer_t = *opaque {}; |
lib/std/c/solaris.zig-2| ... | @@ -1948,5 +1948,3 @@ pub const sigevent = extern struct { | ... | @@ -1948,5 +1948,3 @@ pub const sigevent = extern struct { |
| 1948 | }; | 1948 | }; |
| 1949 | 1949 | ||
| 1950 | pub const PTHREAD_STACK_MIN = if (@sizeOf(usize) == 8) 8 * 1024 else 4 * 1024; | 1950 | pub const PTHREAD_STACK_MIN = if (@sizeOf(usize) == 8) 8 * 1024 else 4 * 1024; |
| 1951 | |||
| 1952 | pub const timer_t = *opaque {}; |