Skip to content

Commit 45083af

Browse files
committed
Android doesn't have getrandom()
1 parent 851e9a1 commit 45083af

File tree

1 file changed

+0
-5
lines changed
  • src/unix/linux_like/android

1 file changed

+0
-5
lines changed

src/unix/linux_like/android/mod.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2195,11 +2195,6 @@ extern {
21952195
pub fn inotify_add_watch(fd: ::c_int,
21962196
path: *const ::c_char,
21972197
mask: u32) -> ::c_int;
2198-
pub fn getrandom(
2199-
buf: *mut ::c_void,
2200-
buflen: ::size_t,
2201-
flags: ::c_uint,
2202-
) -> ::ssize_t;
22032198
}
22042199

22052200
cfg_if! {

0 commit comments

Comments
 (0)