Remove __assert()

This function is provided by Newlib since 2000.

Update #3409.
This commit is contained in:
Sebastian Huber
2018-10-22 08:06:06 +02:00
parent 87a9900f30
commit 658ec757cf
2 changed files with 0 additions and 16 deletions
-1
View File
@@ -72,7 +72,6 @@ AC_CHECK_FUNCS([creat \
telldir \
usleep],,
[RTEMS_TOOL_CHAIN_ERROR])
AC_CHECK_FUNCS([__assert])
AC_CHECK_FUNCS([execl execlp execle execv execvp execve])
AC_CHECK_FUNCS([regcomp regexec regerror regfree])
-15
View File
@@ -52,18 +52,3 @@ void __assert_func(
rtems_fatal( RTEMS_FATAL_SOURCE_ASSERT, (rtems_fatal_code) &assert_context );
}
#endif
#if defined(RTEMS_NEWLIB) && !defined(HAVE___ASSERT)
/**
* small RTEMS Specific Implementation
*/
void __assert(
const char *file,
int line,
const char *failedexpr
)
{
__assert_func (file, line, NULL, failedexpr);
}
#endif