X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=platform%2Fposix%2Ffunctions%2F_PDCLIB%2F_PDCLIB_Exit.c;h=0c41d810e7ebf4d8a0543a145c5d89a7d773615e;hp=5c95fca8c03379452931b1fda5beaa6b9e38afb3;hb=da0f3f353d417fed71f358a48d5d5394145e460d;hpb=1cc4363093c919f79eafac209bb5c41548d3f88f diff --git a/platform/posix/functions/_PDCLIB/_PDCLIB_Exit.c b/platform/posix/functions/_PDCLIB/_PDCLIB_Exit.c index 5c95fca..0c41d81 100644 --- a/platform/posix/functions/_PDCLIB/_PDCLIB_Exit.c +++ b/platform/posix/functions/_PDCLIB/_PDCLIB_Exit.c @@ -1,5 +1,3 @@ -/* $Id$ */ - /* _PDCLIB_exit( int ) This file is part of the Public Domain C Library (PDCLib). @@ -13,9 +11,9 @@ #include #ifndef REGTEST -#include <_PDCLIB_glue.h> +#include "_PDCLIB_glue.h" -extern void _exit( int status ) _PDCLIB_NORETURN; +extern void _exit( int status ) _PDCLIB_noreturn; void _PDCLIB_Exit( int status ) { @@ -25,13 +23,15 @@ void _PDCLIB_Exit( int status ) #endif #ifdef TEST -#include <_PDCLIB_test.h> +#include "_PDCLIB_test.h" int main( void ) { +#ifndef REGTEST int UNEXPECTED_RETURN = 0; _PDCLIB_Exit( 0 ); TESTCASE( UNEXPECTED_RETURN ); +#endif return TEST_RESULTS; }