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:
Xiang Xiao 2020-06-28 15:42:37 +08:00 committed by Alan Carvalho de Assis
parent 10f93b9d9b
commit 771f532dcb

View File

@ -122,10 +122,8 @@ namespace std
// Networking
#ifdef CONFIG_NET
using ::gethostname;
using ::sethostname;
#endif
}
#endif // __INCLUDE_CXX_CUNISTD