diff options
Diffstat (limited to 'host/lib/include/uhdlib/transport/dpdk')
4 files changed, 4 insertions, 14 deletions
diff --git a/host/lib/include/uhdlib/transport/dpdk/arp.hpp b/host/lib/include/uhdlib/transport/dpdk/arp.hpp index e71119bb3..684c3c370 100644 --- a/host/lib/include/uhdlib/transport/dpdk/arp.hpp +++ b/host/lib/include/uhdlib/transport/dpdk/arp.hpp @@ -3,8 +3,7 @@ // // SPDX-License-Identifier: GPL-3.0-or-later // -#ifndef _INCLUDED_UHDLIB_TRANSPORT_DPDK_ARP_HPP_ -#define _INCLUDED_UHDLIB_TRANSPORT_DPDK_ARP_HPP_ +#pragma once #include <uhdlib/transport/dpdk/common.hpp> #include <uhdlib/transport/dpdk/service_queue.hpp> @@ -26,4 +25,3 @@ struct arp_entry }; }}} /* namespace uhd::transport::dpdk */ -#endif /* _INCLUDED_UHDLIB_TRANSPORT_DPDK_ARP_HPP_ */ diff --git a/host/lib/include/uhdlib/transport/dpdk/common.hpp b/host/lib/include/uhdlib/transport/dpdk/common.hpp index ac3526e49..280b7da64 100644 --- a/host/lib/include/uhdlib/transport/dpdk/common.hpp +++ b/host/lib/include/uhdlib/transport/dpdk/common.hpp @@ -4,8 +4,7 @@ // SPDX-License-Identifier: GPL-3.0-or-later // -#ifndef _INCLUDED_UHDLIB_TRANSPORT_DPDK_COMMON_HPP_ -#define _INCLUDED_UHDLIB_TRANSPORT_DPDK_COMMON_HPP_ +#pragma once #include <uhd/config.hpp> #include <uhd/transport/frame_buff.hpp> @@ -401,5 +400,3 @@ private: } // namespace dpdk }} // namespace uhd::transport - -#endif /* _INCLUDED_UHDLIB_TRANSPORT_DPDK_COMMON_HPP_ */ diff --git a/host/lib/include/uhdlib/transport/dpdk/service_queue.hpp b/host/lib/include/uhdlib/transport/dpdk/service_queue.hpp index c95786864..85b29fe0a 100644 --- a/host/lib/include/uhdlib/transport/dpdk/service_queue.hpp +++ b/host/lib/include/uhdlib/transport/dpdk/service_queue.hpp @@ -3,8 +3,7 @@ // // SPDX-License-Identifier: GPL-3.0-or-later // -#ifndef _INCLUDED_UHDLIB_TRANSPORT_DPDK_SERVICE_QUEUE_HPP_ -#define _INCLUDED_UHDLIB_TRANSPORT_DPDK_SERVICE_QUEUE_HPP_ +#pragma once #include <uhd/exception.hpp> #include <uhd/utils/log.hpp> @@ -261,5 +260,3 @@ private: }; }}} // namespace uhd::transport::dpdk - -#endif /*_INCLUDED_UHDLIB_TRANSPORT_DPDK_SERVICE_QUEUE_HPP_ */ diff --git a/host/lib/include/uhdlib/transport/dpdk/udp.hpp b/host/lib/include/uhdlib/transport/dpdk/udp.hpp index 65e561315..d74183bf5 100644 --- a/host/lib/include/uhdlib/transport/dpdk/udp.hpp +++ b/host/lib/include/uhdlib/transport/dpdk/udp.hpp @@ -3,8 +3,7 @@ // // SPDX-License-Identifier: GPL-3.0-or-later // -#ifndef _INCLUDED_UHDLIB_TRANSPORT_DPDK_UDP_HPP_ -#define _INCLUDED_UHDLIB_TRANSPORT_DPDK_UDP_HPP_ +#pragma once #include <uhdlib/transport/dpdk/common.hpp> #include <arpa/inet.h> @@ -112,4 +111,3 @@ inline std::string eth_addr_to_string(const struct ether_addr mac_addr) } }}} /* namespace uhd::transport::dpdk */ -#endif /* _INCLUDED_UHDLIB_TRANSPORT_DPDK_UDP_HPP_ */ |