Commit 5d84b3d1 authored by Jeremy Soller's avatar Jeremy Soller

Remove fevent

parent 10ba0c48
[[package]]
name = "byteorder"
version = "1.2.2"
version = "1.2.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
......@@ -12,15 +12,15 @@ source = "git+https://github.com/redox-os/liblibc#297fc414c3225631e879ff87006ce4
name = "newlib_redox"
version = "0.1.0"
dependencies = [
"byteorder 1.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
"byteorder 1.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
"libc 0.2.40 (git+https://github.com/redox-os/liblibc)",
"redox_syscall 0.1.37 (registry+https://github.com/rust-lang/crates.io-index)",
"redox_syscall 0.1.38 (registry+https://github.com/rust-lang/crates.io-index)",
"redox_termios 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "redox_syscall"
version = "0.1.37"
version = "0.1.38"
source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
......@@ -28,11 +28,11 @@ name = "redox_termios"
version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"redox_syscall 0.1.37 (registry+https://github.com/rust-lang/crates.io-index)",
"redox_syscall 0.1.38 (registry+https://github.com/rust-lang/crates.io-index)",
]
[metadata]
"checksum byteorder 1.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "73b5bdfe7ee3ad0b99c9801d58807a9dbc9e09196365b0203853b99889ab3c87"
"checksum byteorder 1.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "74c0b906e9446b0a2e4f760cdb3fa4b2c48cdc6db8766a845c54b6ff063fd2e9"
"checksum libc 0.2.40 (git+https://github.com/redox-os/liblibc)" = "<none>"
"checksum redox_syscall 0.1.37 (registry+https://github.com/rust-lang/crates.io-index)" = "0d92eecebad22b767915e4d529f89f28ee96dbbf5a4810d2b844373f136417fd"
"checksum redox_syscall 0.1.38 (registry+https://github.com/rust-lang/crates.io-index)" = "0a12d51a5b5fd700e6c757f15877685bfa04fd7eb60c108f01d045cafa0073c2"
"checksum redox_termios 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "7e891cfe48e9100a70a3b6eb652fef28920c117d366339687bd5576160db0f76"
......@@ -2,10 +2,6 @@ use syscall;
use libc::{c_int, c_char, c_void, size_t};
use core::slice;
libc_fn!(unsafe redox_fevent(file: c_int, flags: c_int) -> Result<c_int> {
Ok(syscall::fevent(file as usize, flags as usize)? as c_int)
});
libc_fn!(unsafe redox_fpath(file: c_int, buf: *mut c_char, len: size_t) -> Result<c_int> {
let buf = slice::from_raw_parts_mut(buf as *mut u8, len);
Ok(syscall::fpath(file as usize, buf)? as c_int)
......
......@@ -8,7 +8,6 @@ extern "C" {
#include <_ansi.h>
#include <stddef.h>
int _EXFUN(redox_fevent, (int file, int flags));
int _EXFUN(redox_fpath, (int file, char *buf, size_t len));
void *_EXFUN(redox_fmap, (int file, size_t offset, size_t size));
int _EXFUN(redox_funmap, (void *addr));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment