Skip to content

Commit 71fd5ac

Browse files
committed
std.c: Fix return type for NetBSD's __sigfillset14().
1 parent c5a68e4 commit 71fd5ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/std/c.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11263,7 +11263,7 @@ const private = struct {
1126311263
extern "c" fn __msync13(addr: *align(page_size) const anyopaque, len: usize, flags: c_int) c_int;
1126411264
extern "c" fn __nanosleep50(rqtp: *const timespec, rmtp: ?*timespec) c_int;
1126511265
extern "c" fn __sigaction14(sig: c_int, noalias act: ?*const Sigaction, noalias oact: ?*Sigaction) c_int;
11266-
extern "c" fn __sigfillset14(set: ?*sigset_t) void;
11266+
extern "c" fn __sigfillset14(set: ?*sigset_t) c_int;
1126711267
extern "c" fn __sigprocmask14(how: c_int, noalias set: ?*const sigset_t, noalias oset: ?*sigset_t) c_int;
1126811268
extern "c" fn __socket30(domain: c_uint, sock_type: c_uint, protocol: c_uint) c_int;
1126911269
extern "c" fn __stat50(path: [*:0]const u8, buf: *Stat) c_int;

0 commit comments

Comments
 (0)