X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=platform%2Fexample%2Ffunctions%2F_PDCLIB%2F_Exit.c;h=5c95fca8c03379452931b1fda5beaa6b9e38afb3;hp=c3ecfbc373b26718be4d43024f17aedb801d9c3e;hb=393020b6e48719d27699dea6b29e53025bbd5123;hpb=f408c1fd633015089d2a0fc6bc31c9f61eeae0a9 diff --git a/platform/example/functions/_PDCLIB/_Exit.c b/platform/example/functions/_PDCLIB/_Exit.c index c3ecfbc..5c95fca 100644 --- a/platform/example/functions/_PDCLIB/_Exit.c +++ b/platform/example/functions/_PDCLIB/_Exit.c @@ -14,7 +14,8 @@ #ifndef REGTEST #include <_PDCLIB_glue.h> -#include + +extern void _exit( int status ) _PDCLIB_NORETURN; void _PDCLIB_Exit( int status ) { @@ -24,8 +25,6 @@ void _PDCLIB_Exit( int status ) #endif #ifdef TEST -/* TODO: Work around the following undef */ -#undef SEEK_SET #include <_PDCLIB_test.h> int main( void )