Merge branch 'assert_fail' into 'master'

Rename __assert to __assert_fail

See merge request redox-os/relibc!212
This commit is contained in:
jD91mZM2
2019-06-12 09:33:59 +00:00
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -5,7 +5,7 @@
# define assert(cond) (void) 0
#else
# define assert(cond) \
((void)((cond) || (__assert(__func__, __FILE__, __LINE__, #cond), 0)))
((void)((cond) || (__assert_fail(__func__, __FILE__, __LINE__, #cond), 0)))
#endif
#endif
+1 -1
View File
@@ -6,7 +6,7 @@ use header::{stdio, stdlib};
use platform::types::*;
#[no_mangle]
pub unsafe extern "C" fn __assert(
pub unsafe extern "C" fn __assert_fail(
func: *const c_char,
file: *const c_char,
line: c_int,