File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -194,7 +194,7 @@ pub mod nr;
194194
195195#[ cfg( all( thumb, not( feature = "inline-asm" ) ) ) ]
196196extern "C" {
197- fn __syscall ( nr : usize , arg : usize ) -> usize ;
197+ fn __sh_syscall ( nr : usize , arg : usize ) -> usize ;
198198}
199199
200200/// Performs a semihosting operation, takes a pointer to an argument block
@@ -208,7 +208,7 @@ pub unsafe fn syscall<T>(nr: usize, arg: &T) -> usize {
208208pub unsafe fn syscall1 ( _nr : usize , _arg : usize ) -> usize {
209209 match ( ) {
210210 #[ cfg( all( thumb, not( feature = "inline-asm" ) , not( feature = "no-semihosting" ) ) ) ]
211- ( ) => __syscall ( _nr, _arg) ,
211+ ( ) => __sh_syscall ( _nr, _arg) ,
212212
213213 #[ cfg( all( thumb, feature = "inline-asm" , not( feature = "no-semihosting" ) ) ) ]
214214 ( ) => {
You can’t perform that action at this time.
0 commit comments