X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=platform%2Fexample%2Ffunctions%2F_PDCLIB%2Fclose.c;h=b823a0c40523abf1f7f0eb78681ad1a6cfa3be48;hb=b1fc26afebd4d557ff89a44bc21767a8704c3809;hp=fd85f4c636986b630ebafb5440fe88308a946b26;hpb=9b1e6c0a721f9358d9bbc76410e719a878e27edb;p=pdclib diff --git a/platform/example/functions/_PDCLIB/close.c b/platform/example/functions/_PDCLIB/close.c index fd85f4c..b823a0c 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. @@ -15,12 +13,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 ); }