]> pd.if.org Git - pdclib/blobdiff - platform/posix/functions/_PDCLIB/_PDCLIB_Exit.c
Removed SVN keyword tags.
[pdclib] / platform / posix / functions / _PDCLIB / _PDCLIB_Exit.c
index 5c95fca8c03379452931b1fda5beaa6b9e38afb3..6e2428386172711c184598ae327aa863f0f92eaf 100644 (file)
@@ -1,5 +1,3 @@
-/* $Id$ */
-
 /* _PDCLIB_exit( int )
 
    This file is part of the Public Domain C Library (PDCLib).
@@ -15,7 +13,7 @@
 #ifndef REGTEST
 #include <_PDCLIB_glue.h>
 
-extern void _exit( int status ) _PDCLIB_NORETURN;
+extern void _exit( int status ) _PDCLIB_noreturn;
 
 void _PDCLIB_Exit( int status )
 {
@@ -29,9 +27,11 @@ void _PDCLIB_Exit( int status )
 
 int main( void )
 {
+#ifndef REGTEST
     int UNEXPECTED_RETURN = 0;
     _PDCLIB_Exit( 0 );
     TESTCASE( UNEXPECTED_RETURN );
+#endif
     return TEST_RESULTS;
 }