fs/fs.h: Reference the argumnet 'r' in _NX_SETERRNO
to avoid the unused variable warning Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
59a5d03842
commit
cf73496d9e
@ -87,7 +87,7 @@
|
||||
# define _NX_IOCTL(f,r,a) ioctl(f,r,a)
|
||||
# define _NX_STAT(p,s) stat(p,s)
|
||||
# define _NX_GETERRNO(r) errno
|
||||
# define _NX_SETERRNO(r)
|
||||
# define _NX_SETERRNO(r) ((void)(r))
|
||||
# define _NX_GETERRVAL(r) (-errno)
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user