]> pd.if.org Git - pdclib/blobdiff - internals/_PDCLIB_glue.h
remove() implemented directly without glue trampoline.
[pdclib] / internals / _PDCLIB_glue.h
index f4363c40925c1db3d7be94d9efc96d882151cd35..48727f86503ca69bc101dcb1c902bb958dacbaae 100644 (file)
@@ -7,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                                                          */
@@ -33,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.)
 */
@@ -61,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