diff --git a/libc/include/fcntl.h b/libc/include/fcntl.h index 7a3d7fdb..b5d42e99 100644 --- a/libc/include/fcntl.h +++ b/libc/include/fcntl.h @@ -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)