X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=platform%2Fexample%2Ffunctions%2F_PDCLIB%2Fclose.c;h=8fc9b3474b9b06200fc0496f091a1863aadc2e1d;hb=d865c4403fc91d1f1ac95ba76febcee9f429bb97;hp=fd85f4c636986b630ebafb5440fe88308a946b26;hpb=9b1e6c0a721f9358d9bbc76410e719a878e27edb;p=pdclib diff --git a/platform/example/functions/_PDCLIB/close.c b/platform/example/functions/_PDCLIB/close.c index fd85f4c..8fc9b34 100644 --- a/platform/example/functions/_PDCLIB/close.c +++ b/platform/example/functions/_PDCLIB/close.c @@ -1,6 +1,4 @@ -/* $Id$ */ - -/* _PDCLIB_close( _PDCLIB_fd_t fd ) +/* _PDCLIB_close( _PDCLIB_fd_t ) This file is part of the Public Domain C Library (PDCLib). Permission is granted to use, modify, and / or redistribute at will. @@ -13,14 +11,12 @@ #include #ifndef REGTEST -#include <_PDCLIB_glue.h> -#include -#include -#include -#include +#include "_PDCLIB_glue.h" + +extern int close( int fd ); -int _PDCLIB_close( _PDCLIB_fd_t fd ) +int _PDCLIB_close( int fd ) { return close( fd ); } @@ -28,7 +24,8 @@ int _PDCLIB_close( _PDCLIB_fd_t fd ) #endif #ifdef TEST -#include <_PDCLIB_test.h> + +#include "_PDCLIB_test.h" int main( void ) {