diff options
-rw-r--r-- | gnuradio-core/src/lib/io/gr_tuntap_pdu.cc | 9 | ||||
-rw-r--r-- | gnuradio-core/src/lib/io/gr_tuntap_pdu.h | 8 |
2 files changed, 8 insertions, 9 deletions
diff --git a/gnuradio-core/src/lib/io/gr_tuntap_pdu.cc b/gnuradio-core/src/lib/io/gr_tuntap_pdu.cc index d369310a6..8dd4b18a1 100644 --- a/gnuradio-core/src/lib/io/gr_tuntap_pdu.cc +++ b/gnuradio-core/src/lib/io/gr_tuntap_pdu.cc @@ -134,15 +134,6 @@ int gr_tuntap_pdu::tun_alloc(char *dev, int flags) { #else //if not linux -// Just a stub class and factory function for swig. -class gr_tuntap_pdu -{ -private: - gr_tuntap_pdu() {}; -public: - ~gr_tuntap_pdu() {}; -}; - gr_block_sptr gr_make_tuntap_pdu(std::string dev, int MTU) { diff --git a/gnuradio-core/src/lib/io/gr_tuntap_pdu.h b/gnuradio-core/src/lib/io/gr_tuntap_pdu.h index 384d57703..18c83f42b 100644 --- a/gnuradio-core/src/lib/io/gr_tuntap_pdu.h +++ b/gnuradio-core/src/lib/io/gr_tuntap_pdu.h @@ -59,6 +59,14 @@ class GR_CORE_API gr_tuntap_pdu : public gr_stream_pdu_base #else // if not linux +class gr_tuntap_pdu +{ +private: + gr_tuntap_pdu() {}; +public: + ~gr_tuntap_pdu() {}; +}; + GR_CORE_API gr_block_sptr gr_make_tuntap_pdu (std::string dev, int MTU=0); #endif |