From 5008f65e6f7f62c49500c74ad1400da56c427e32 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Tue, 25 Oct 2011 16:30:35 +0000 Subject: =?UTF-8?q?2011-10-25=09Ralf=20Cors=C3=A9pius=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * support/include/tmacros.h: Remove fatal_posix_service_pointer_minus_one (unused). --- testsuites/ChangeLog | 5 +++++ testsuites/support/include/tmacros.h | 9 --------- 2 files changed, 5 insertions(+), 9 deletions(-) (limited to 'testsuites') diff --git a/testsuites/ChangeLog b/testsuites/ChangeLog index e183b77cbd..7b52fad614 100644 --- a/testsuites/ChangeLog +++ b/testsuites/ChangeLog @@ -1,3 +1,8 @@ +2011-10-25 Ralf Corsépius + + * support/include/tmacros.h: + Remove fatal_posix_service_pointer_minus_one (unused). + 2011-10-13 Ralf Corsépius * support/include/primode.h: New. diff --git a/testsuites/support/include/tmacros.h b/testsuites/support/include/tmacros.h index 9042f59fc2..ddd93250bb 100644 --- a/testsuites/support/include/tmacros.h +++ b/testsuites/support/include/tmacros.h @@ -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 ); \ -- cgit v1.2.3