Skip to content

Commit f6ed4e0

Browse files
committed
Auto merge of #1532 - Wind-River:master_rebase, r=gnzlbg
update rtpSpawn prototype
2 parents 44a063a + 740ac0c commit f6ed4e0

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/vxworks/mod.rs

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -416,9 +416,10 @@ s_no_extra_traits! {
416416
}
417417

418418
pub union sa_u_t {
419-
pub sa_handler : Option<unsafe extern "C" fn(::c_int) -> !>,
420-
pub sa_sigaction: Option<unsafe extern "C" fn(::c_int, *mut ::siginfo_t,
421-
*mut ::c_void) -> !>,
419+
pub sa_handler : ::Option<unsafe extern "C" fn(::c_int) -> !>,
420+
pub sa_sigaction: ::Option<unsafe extern "C" fn(::c_int,
421+
*mut ::siginfo_t,
422+
*mut ::c_void) -> !>,
422423
}
423424

424425
pub union sigval {
@@ -2074,8 +2075,8 @@ extern "C" {
20742075
pub fn rtpInfoGet(rtpId: ::RTP_ID, rtpStruct: *mut ::RTP_DESC) -> ::c_int;
20752076
pub fn rtpSpawn(
20762077
pubrtpFileName: *const ::c_char,
2077-
argv: *const *const ::c_char,
2078-
envp: *const *const ::c_char,
2078+
argv: *mut *const ::c_char,
2079+
envp: *mut *const ::c_char,
20792080
priority: ::c_int,
20802081
uStackSize: ::size_t,
20812082
options: ::c_int,

0 commit comments

Comments
 (0)