X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=platform%2Fexample%2Ffunctions%2F_PDCLIB%2F_Exit.c;h=ed019ae9f12b5f78faf4fbef959dbf41523f804b;hb=d865c4403fc91d1f1ac95ba76febcee9f429bb97;hp=4cfc6660b4c659d46ec5598005998592183c2176;hpb=b1fc26afebd4d557ff89a44bc21767a8704c3809;p=pdclib diff --git a/platform/example/functions/_PDCLIB/_Exit.c b/platform/example/functions/_PDCLIB/_Exit.c index 4cfc666..ed019ae 100644 --- a/platform/example/functions/_PDCLIB/_Exit.c +++ b/platform/example/functions/_PDCLIB/_Exit.c @@ -11,7 +11,8 @@ #include #ifndef REGTEST -#include <_PDCLIB_glue.h> + +#include "_PDCLIB_glue.h" extern void _exit( int status ) _PDCLIB_NORETURN; @@ -23,13 +24,16 @@ 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; }