Skip to content
Snippets Groups Projects
Commit ea16dce2 authored by patacongo's avatar patacongo
Browse files

Fix some ez80 compilation errors

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2005 42af7a65-404d-4744-a932-0658087f49c3
parent 64777d8e
No related branches found
No related tags found
No related merge requests found
......@@ -80,7 +80,6 @@ static inline int file_vfcntl(int fildes, int cmd, va_list ap)
goto errout;
}
#warning "Many fcntl() commands not yet implemented"
switch (cmd)
{
case F_DUPFD:
......
......@@ -88,20 +88,14 @@
/* For posix fcntl() and lockf() */
#define F_RDLCK 0
#define F_WRLCK 1
#define F_UNLCK 2
#define F_RDLCK 0 /* Take out a read lease */
#define F_WRLCK 1 /* Take out a write lease */
#define F_UNLCK 2 /* Remove a lease */
/* close-on-exec flag for F_GETRL and F_SETFL */
#define FD_CLOEXEC 1
/* Arguments to F_SETLEASE */
#define F_RDLCK 0 /* Take out a read lease */
#define F_WRLCK 2 /* Take out a write lease */
#define F_UNLCK 3 /* Remove a lease */
/* These are the notifications that can be received from F_NOTIFY (linux) */
#define DN_ACCESS 0 /* A file was accessed */
......
......@@ -77,8 +77,6 @@ int net_vfcntl(int sockfd, int cmd, va_list ap)
/* Interrupts must be disabled in order to perform operations on socket structures */
flags = irqsave();
#warning "Most fcntl() commands not yet implemented"
switch (cmd)
{
case F_DUPFD:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment