]> pd.if.org Git - pdclib/blobdiff - platform/example/functions/_PDCLIB/close.c
Merged branch stdio_rewrite back into trunk.
[pdclib] / platform / example / functions / _PDCLIB / close.c
index fd85f4c636986b630ebafb5440fe88308a946b26..c4b61738794444b55c1a5e387c6c7bf5315c68b0 100644 (file)
 #ifndef REGTEST
 #include <_PDCLIB_glue.h>
 
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <fcntl.h>
-#include <unistd.h>
+extern int close( int fd );
 
-int _PDCLIB_close( _PDCLIB_fd_t fd )
+int _PDCLIB_close( int fd )
 {
     return close( fd );
 }