]> pd.if.org Git - pdclib/blobdiff - internals/_PDCLIB_glue.h
remove() implemented directly without glue trampoline.
[pdclib] / internals / _PDCLIB_glue.h
index 30532c92023dbd000352c21c07de7c8b4047ad26..48727f86503ca69bc101dcb1c902bb958dacbaae 100644 (file)
@@ -1,5 +1,3 @@
-/* $Id$ */
-
 /* OS glue functions declaration <_PDCLIB_glue.h>
 
    This file is part of the Public Domain C Library (PDCLib).
@@ -9,7 +7,7 @@
 #ifndef _PDCLIB_GLUE_H
 #define _PDCLIB_GLUE_H _PDCLIB_GLUE_H
 
-#include <_PDCLIB_int.h>
+#include "_PDCLIB_int.h"
 
 /* -------------------------------------------------------------------------- */
 /* OS "glue", part 2                                                          */
@@ -35,7 +33,7 @@ void * _PDCLIB_allocpages( int n );
 
 /* stdio.h */
 
-/* A system call that opens a file identified by name in a given mode. Return 
+/* A system call that opens a file identified by name in a given mode. Return
    a file descriptor uniquely identifying that file.
    (The mode is the return value of the _PDCLIB_filemode() function.)
 */
@@ -63,11 +61,6 @@ _PDCLIB_int64_t _PDCLIB_seek( struct _PDCLIB_file_t * stream, _PDCLIB_int64_t of
 */
 int _PDCLIB_close( _PDCLIB_fd_t fd );
 
-/* A system call that removes a file identified by name. Return zero on success,
-   non-zero otherwise.
-*/
-int _PDCLIB_remove( const char * filename );
-
 /* A system call that renames a file from given old name to given new name.
    Return zero on success, non-zero otherwise. In case of failure, the file
    must still be accessible by old name. Any handling of open files etc. is