Update pthreads-emb

This commit is contained in:
Jeremy Soller
2018-12-11 08:02:47 -07:00
parent 756a0d2edc
commit 4a4e641b23
2 changed files with 1 additions and 11 deletions
-10
View File
@@ -44,13 +44,6 @@ unsafe fn copy_string_array(array: *const *const c_char, len: usize) -> Vec<*mut
vec
}
// In the case that pthread is not linked, pthread_init can be replaced
#[linkage = "weak"]
#[no_mangle]
extern "C" fn pthread_init() -> c_int {
0
}
#[inline(never)]
#[no_mangle]
pub unsafe extern "C" fn relibc_start(sp: &'static Stack) -> ! {
@@ -85,9 +78,6 @@ pub unsafe extern "C" fn relibc_start(sp: &'static Stack) -> ! {
stdio::stdout = stdio::default_stdout.get();
stdio::stderr = stdio::default_stderr.get();
// Initialize pthreads
pthread_init();
// Call init section
_init();