mirror of
https://github.com/apache/nuttx.git
synced 2026-10-19 12:48:48 +00:00
include/nuttx/fs/fs.h: Fix some backward paramters in a new macro definition.
This commit is contained in:
parent
a7fd58c4db
commit
5a0c6547d9
1 changed files with 2 additions and 2 deletions
|
|
@ -84,7 +84,7 @@
|
|||
|
||||
#if defined(CONFIG_BUILD_FLAT) || defined(__KERNEL__)
|
||||
# ifdef CONFIG_CPP_HAVE_VARARGS
|
||||
# define _NX_OPEN(p,f,...) nx_open(f,b,##__VA_ARGS__)
|
||||
# define _NX_OPEN(p,f,...) nx_open(p,f,##__VA_ARGS__)
|
||||
# else
|
||||
# define _NX_OPEN nx_open
|
||||
# endif
|
||||
|
|
@ -95,7 +95,7 @@
|
|||
# define _NX_GETERRVAL(r) (r)
|
||||
#else
|
||||
# ifdef CONFIG_CPP_HAVE_VARARGS
|
||||
# define _NX_OPEN(p,f,...) open(f,b,##__VA_ARGS__)
|
||||
# define _NX_OPEN(p,f,...) open(p,f,##__VA_ARGS__)
|
||||
# else
|
||||
# define _NX_OPEN open
|
||||
# endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue