Changeset 658ec75 in rtems for cpukit


Ignore:
Timestamp:
Oct 18, 2018, 12:28:17 PM (10 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
e161767e
Parents:
87a9900f
git-author:
Sebastian Huber <sebastian.huber@…> (10/18/18 12:28:17)
git-committer:
Sebastian Huber <sebastian.huber@…> (10/22/18 06:06:06)
Message:

Remove assert()

This function is provided by Newlib since 2000.

Update #3409.

Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/configure.ac

    r87a9900f r658ec75  
    7373  usleep],,
    7474  [RTEMS_TOOL_CHAIN_ERROR])
    75 AC_CHECK_FUNCS([__assert])
    7675AC_CHECK_FUNCS([execl execlp execle execv execvp execve])
    7776AC_CHECK_FUNCS([regcomp regexec regerror regfree])
  • cpukit/libcsupport/src/__assert.c

    r87a9900f r658ec75  
    5353}
    5454#endif
    55 
    56 #if defined(RTEMS_NEWLIB) && !defined(HAVE___ASSERT)
    57 
    58 /**
    59  *  small RTEMS Specific Implementation
    60  */
    61 void __assert(
    62   const char *file,
    63   int         line,
    64   const char *failedexpr
    65 )
    66 {
    67   __assert_func (file, line, NULL, failedexpr);
    68 }
    69 #endif
Note: See TracChangeset for help on using the changeset viewer.