X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=platform%2Fexample_cygwin%2Ffunctions%2F_PDCLIB%2F_Exit.c;fp=platform%2Fexample_cygwin%2Ffunctions%2F_PDCLIB%2F_Exit.c;h=0000000000000000000000000000000000000000;hb=0cd903b82201176f3148f6d18d68fd30b82746d5;hp=4cfc6660b4c659d46ec5598005998592183c2176;hpb=56bacb39160e13397fde32a36329461f3ae56ec1;p=pdclib diff --git a/platform/example_cygwin/functions/_PDCLIB/_Exit.c b/platform/example_cygwin/functions/_PDCLIB/_Exit.c deleted file mode 100644 index 4cfc666..0000000 --- a/platform/example_cygwin/functions/_PDCLIB/_Exit.c +++ /dev/null @@ -1,36 +0,0 @@ -/* _PDCLIB_exit( int ) - - This file is part of the Public Domain C Library (PDCLib). - Permission is granted to use, modify, and / or redistribute at will. -*/ - -/* This is an example implementation of _PDCLIB_exit() fit for use with POSIX - kernels. -*/ - -#include - -#ifndef REGTEST -#include <_PDCLIB_glue.h> - -extern void _exit( int status ) _PDCLIB_NORETURN; - -void _PDCLIB_Exit( int status ) -{ - _exit( status ); -} - -#endif - -#ifdef TEST -#include <_PDCLIB_test.h> - -int main( void ) -{ - int UNEXPECTED_RETURN = 0; - _PDCLIB_Exit( 0 ); - TESTCASE( UNEXPECTED_RETURN ); - return TEST_RESULTS; -} - -#endif