WIZnetInterface using namespace

Dependents:   DualNetworkInterface-Basic

Fork of WIZnetInterface by WIZnet

Revision:
20:3e61863c1f67
Parent:
0:6f28332c466f
diff -r d8773cd4edc5 -r 3e61863c1f67 Socket/DNSClient.cpp
--- a/Socket/DNSClient.cpp	Wed Jul 01 04:02:50 2015 +0000
+++ b/Socket/DNSClient.cpp	Tue Jul 14 10:16:16 2015 +0000
@@ -1,10 +1,10 @@
 // DNSClient.cpp 2013/8/27
 #include "mbed.h"
 #include "mbed_debug.h"
-#include "DNSClient.h"
-#include "UDPSocket.h"
-#include "dnsname.h"
-#include "eth_arch.h"
+#include "DNSClient.hpp"
+#include "UDPSocket.hpp"
+#include "dnsname.hpp"
+#include "eth_arch.hpp"
 
 #define DBG_DNS 0
 
@@ -14,6 +14,8 @@
 #define DBG2(...) while(0);
 #endif
 
+using namespace wiznet_space;
+
 DNSClient::DNSClient(const char* hostname) : m_state(MYNETDNS_START), m_udp(NULL) {
     m_hostname = hostname;
 }