]> pd.if.org Git - pdclib/blobdiff - platform/example/functions/_PDCLIB/open.c
Wrong type for open() parameter; fixed. Added _PDCLIB_NOHANDLE to _PDCLIB_config.h.
[pdclib] / platform / example / functions / _PDCLIB / open.c
index d3aafb2c23b7b73932e37aee48fa761c6db783f9..b0b26cb582c0dd0360e069a216f5d2a12f4e0e09 100644 (file)
@@ -1,7 +1,5 @@
 /* $Id$ */
 
-/* Release $Name$ */
-
 /* _PDCLIB_open( char const * const, int )
 
    This file is part of the Public Domain C Library (PDCLib).
@@ -22,7 +20,7 @@
 #include <fcntl.h>
 #include <unistd.h>
 
-_PDCLIB_fd_t _PDCLIB_open( char const * const filename, int mode )
+_PDCLIB_fd_t _PDCLIB_open( char const * const filename, unsigned int mode )
 {
     int osmode = 0;
     if ( mode & _PDCLIB_FRW ) osmode |= O_RDWR;