cxx: Remove CONFIG_NET guard from [get|set]hostname
since these two functions is always implemented now Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> Change-Id: Iae46fa4d38b680a5d1ce5c314ffcb71af4a3dc95
This commit is contained in:
parent
10f93b9d9b
commit
771f532dcb
@ -122,10 +122,8 @@ namespace std
|
||||
|
||||
// Networking
|
||||
|
||||
#ifdef CONFIG_NET
|
||||
using ::gethostname;
|
||||
using ::sethostname;
|
||||
#endif
|
||||
}
|
||||
|
||||
#endif // __INCLUDE_CXX_CUNISTD
|
||||
|
Loading…
Reference in New Issue
Block a user