2011-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>

* support/include/tmacros.h:
	Remove fatal_posix_service_pointer_minus_one (unused).
This commit is contained in:
Ralf Corsepius
2011-10-25 16:30:35 +00:00
parent 41909dea87
commit 5008f65e6f
2 changed files with 5 additions and 9 deletions

View File

@@ -1,3 +1,8 @@
2011-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
* support/include/tmacros.h:
Remove fatal_posix_service_pointer_minus_one (unused).
2011-10-13 Ralf Corsépius <ralf.corsepius@rtems.org>
* support/include/primode.h: New.

View File

@@ -122,15 +122,6 @@ extern "C" {
#define fatal_posix_service_status( _stat, _desired, _msg ) \
fatal_posix_service_status_with_level( _stat, _desired, _msg, 0 )
#define fatal_posix_service_pointer_minus_one( _ptr, _msg ) \
if ( (_ptr != (void *)-1) ) { \
check_dispatch_disable_level( 0 ); \
printf( "\n%s FAILED -- expected (-1) got (%p - %d/%s)\n", \
(_msg), _ptr, errno, strerror(errno) ); \
FLUSH_OUTPUT(); \
rtems_test_exit( -1 ); \
}
#define fatal_posix_service_status_with_level( _stat, _desired, _msg, _level ) \
do { \
check_dispatch_disable_level( _level ); \