Skip to content

Commit cd71bb6

Browse files
authored
Merge pull request #1737 from semarie/netbsd-regenosys
REG_ENOSYS is NetBSD specific
2 parents 2fada38 + bc0f2ae commit cd71bb6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/unix/bsd/netbsdlike/mod.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -621,8 +621,6 @@ pub const SF_APPEND: ::c_ulong = 0x00040000;
621621

622622
pub const TIMER_ABSTIME: ::c_int = 1;
623623

624-
pub const REG_ENOSYS: ::c_int = 17;
625-
626624
#[link(name = "util")]
627625
extern "C" {
628626
pub fn setgrent();

src/unix/bsd/netbsdlike/netbsd/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1646,6 +1646,8 @@ pub const FIBMAP: ::c_ulong = 0xc008667a;
16461646

16471647
pub const SIGSTKSZ: ::size_t = 40960;
16481648

1649+
pub const REG_ENOSYS: ::c_int = 17;
1650+
16491651
pub const PT_DUMPCORE: ::c_int = 12;
16501652
pub const PT_LWPINFO: ::c_int = 13;
16511653
pub const PT_SYSCALL: ::c_int = 14;

0 commit comments

Comments
 (0)