X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;ds=sidebyside;f=platform%2Fexample%2Ffunctions%2F_PDCLIB%2Fclose.c;h=c4b61738794444b55c1a5e387c6c7bf5315c68b0;hb=36b77c1eaf2ffddb76ef8ed2e6acd046682875c7;hp=fd85f4c636986b630ebafb5440fe88308a946b26;hpb=9b1e6c0a721f9358d9bbc76410e719a878e27edb;p=pdclib diff --git a/platform/example/functions/_PDCLIB/close.c b/platform/example/functions/_PDCLIB/close.c index fd85f4c..c4b6173 100644 --- a/platform/example/functions/_PDCLIB/close.c +++ b/platform/example/functions/_PDCLIB/close.c @@ -15,12 +15,9 @@ #ifndef REGTEST #include <_PDCLIB_glue.h> -#include -#include -#include -#include +extern int close( int fd ); -int _PDCLIB_close( _PDCLIB_fd_t fd ) +int _PDCLIB_close( int fd ) { return close( fd ); }