X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=platform%2Fposix%2Ffunctions%2F_PDCLIB%2F_PDCLIB_allocpages.c;h=0416f181170daffec942e1dd32021228ae092ca1;hp=4d9f16a45e18d34e996df8a79b419d5065531030;hb=c42d6c99b024d1a93994d734d9739a3db44c9d67;hpb=37f62a3ac31302556f0cdad12b2250a6fc7872f1 diff --git a/platform/posix/functions/_PDCLIB/_PDCLIB_allocpages.c b/platform/posix/functions/_PDCLIB/_PDCLIB_allocpages.c index 4d9f16a..0416f18 100644 --- a/platform/posix/functions/_PDCLIB/_PDCLIB_allocpages.c +++ b/platform/posix/functions/_PDCLIB/_PDCLIB_allocpages.c @@ -1,13 +1,9 @@ -/* _PDCLIB_allocpages( int const ) +/* _PDCLIB_allocpages( size_t ) 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_allocpages() (declared in - _PDCLIB_config.h), fit for use with POSIX kernels. -*/ - #ifndef REGTEST #ifdef __linux__ #define _GNU_SOURCE @@ -15,7 +11,7 @@ #include #include #include -#include <_PDCLIB_glue.h> +#include "_PDCLIB_glue.h" #ifndef MAP_ANON #define MAP_ANON MAP_ANOYNMOUS @@ -37,7 +33,7 @@ void * _PDCLIB_allocpages( size_t n ) #endif #ifdef TEST -#include <_PDCLIB_test.h> +#include "_PDCLIB_test.h" int main( void ) {