X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=platform%2Fexample%2Ffunctions%2F_PDCLIB%2F_PDCLIB_freepages.c;fp=platform%2Fexample%2Ffunctions%2F_PDCLIB%2F_PDCLIB_freepages.c;h=62549762e50d2b4f4b026707155a2e383ec716af;hb=412fd4684cfdf34b1a3368b4651b6e6c2e7fbbad;hp=0000000000000000000000000000000000000000;hpb=0fc3e46b7aa4342bbe254ba9d8129f21075db8be;p=pdclib diff --git a/platform/example/functions/_PDCLIB/_PDCLIB_freepages.c b/platform/example/functions/_PDCLIB/_PDCLIB_freepages.c new file mode 100644 index 0000000..6254976 --- /dev/null +++ b/platform/example/functions/_PDCLIB/_PDCLIB_freepages.c @@ -0,0 +1,28 @@ +/* _PDCLIB_allocpages( int const ) + + This file is part of the Public Domain C Library (PDCLib). + Permission is granted to use, modify, and / or redistribute at will. +*/ + +/* This is a stub implementation of _PDCLIB_allocpages +*/ + +#include +#include +#include "_PDCLIB_glue.h" +#include + +void _PDCLIB_freepages( void * p, size_t n ) +{ + return; +} + +#ifdef TEST +#include "_PDCLIB_test.h" + +int main( void ) +{ + return TEST_RESULTS; +} + +#endif