-/* $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.
#include <stdio.h>
#ifndef REGTEST
-#include <_PDCLIB_glue.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <fcntl.h>
-#include <unistd.h>
+#include "_PDCLIB_glue.h"
+
+extern int close( int fd );
-int _PDCLIB_close( _PDCLIB_fd_t fd )
+int _PDCLIB_close( int fd )
{
return close( fd );
}
#endif
#ifdef TEST
-#include <_PDCLIB_test.h>
+
+#include "_PDCLIB_test.h"
int main( void )
{