Skip to content

Commit

Permalink
Separated fuchsia-specific process stuff into 'process_fuchsia.rs' an…
Browse files Browse the repository at this point in the history
…d refactored out some now-duplicated code into a 'process_common.rs'
  • Loading branch information
tedsta committed Nov 23, 2016
1 parent ae09957 commit 5c1c485
Show file tree
Hide file tree
Showing 6 changed files with 940 additions and 868 deletions.
3 changes: 0 additions & 3 deletions src/libstd/sys/unix/magenta.rs
Expand Up @@ -67,7 +67,6 @@ pub struct mx_info_process_t {
pub rec: mx_record_process_t,
}

#[link(name = "magenta")]
extern {
pub fn mx_handle_close(handle: mx_handle_t) -> mx_status_t;

Expand All @@ -89,7 +88,6 @@ pub fn mx_hnd_info(hnd_type: u32, arg: u32) -> u32 {
(hnd_type & 0xFFFF) | ((arg & 0xFFFF) << 16)
}

#[link(name="mxio")]
extern {
pub fn mxio_get_startup_handle(id: u32) -> mx_handle_t;
}
Expand Down Expand Up @@ -123,7 +121,6 @@ pub struct launchpad_t {
loader_message: bool,
}

#[link(name="launchpad")]
extern {
pub fn launchpad_create(job: mx_handle_t, name: *const c_char,
lp: *mut *mut launchpad_t) -> mx_status_t;
Expand Down

0 comments on commit 5c1c485

Please sign in to comment.