Fix non-standard struct flock declaration.

This commit is contained in:
Jonas 'Sortie' Termansen 2013-09-18 19:49:17 +02:00
parent 8d2c585479
commit 3abad890ec
1 changed files with 1 additions and 3 deletions

View File

@ -48,7 +48,7 @@ __BEGIN_DECLS
@include(pid_t.h)
struct _flock
struct flock
{
short l_type; /* Type of lock; F_RDLCK, F_WRLCK, F_UNLCK. */
short l_whence; /* Type of lock; F_RDLCK, F_WRLCK, F_UNLCK. */
@ -57,8 +57,6 @@ struct _flock
pid_t l_pid; /* Process ID of the process holding the lock; returned with F_GETLK. */
};
typedef struct _flock flock;
int fcntl(int fd, int cmd, ...);
int open(const char* path, int oflag, ...);
#if defined(__SORTIX_SHOW_UNIMPLEMENTED)