summaryrefslogtreecommitdiffstats
path: root/testsuites/support/include/tmacros.h
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2011-10-25 16:30:35 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2011-10-25 16:30:35 +0000
commit5008f65e6f7f62c49500c74ad1400da56c427e32 (patch)
tree45c77df8f835f3767b648d7a3d6ce1d5bdd96803 /testsuites/support/include/tmacros.h
parent2011-10-25 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-5008f65e6f7f62c49500c74ad1400da56c427e32.tar.bz2
2011-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
* support/include/tmacros.h: Remove fatal_posix_service_pointer_minus_one (unused).
Diffstat (limited to 'testsuites/support/include/tmacros.h')
-rw-r--r--testsuites/support/include/tmacros.h9
1 files changed, 0 insertions, 9 deletions
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 ); \