mirror of
https://github.com/apache/nuttx.git
synced 2026-05-24 16:11:56 +08:00
net: Move if_nametoindex and if_indextoname to libc
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
@@ -218,10 +218,6 @@ SYSCALL_LOOKUP(pwrite, 4)
|
||||
#ifdef CONFIG_EVENT_FD
|
||||
SYSCALL_LOOKUP(eventfd, 2)
|
||||
#endif
|
||||
#ifdef CONFIG_NETDEV_IFINDEX
|
||||
SYSCALL_LOOKUP(if_indextoname, 2)
|
||||
SYSCALL_LOOKUP(if_nametoindex, 1)
|
||||
#endif
|
||||
#ifdef CONFIG_SERIAL_TERMIOS
|
||||
SYSCALL_LOOKUP(tcdrain, 1)
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user