From 5b00916f839cd9df40db3d10f56aab4045d723cb Mon Sep 17 00:00:00 2001 From: Rolf Winter Date: Thu, 26 May 2016 18:11:48 +0200 Subject: [PATCH] fixed: superfluous includes, docu (#148) --- include/tins/llc.h | 1 - include/tins/pdu.h | 1 - include/tins/udp.h | 3 +-- 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/include/tins/llc.h b/include/tins/llc.h index 70d51a7..e7c73a3 100644 --- a/include/tins/llc.h +++ b/include/tins/llc.h @@ -35,7 +35,6 @@ #include #include "macros.h" #include "pdu.h" -#include "macros.h" #include "endianness.h" namespace Tins { diff --git a/include/tins/pdu.h b/include/tins/pdu.h index 77346dd..bb6005b 100644 --- a/include/tins/pdu.h +++ b/include/tins/pdu.h @@ -36,7 +36,6 @@ #include "macros.h" #include "cxxstd.h" #include "exceptions.h" -#include "macros.h" /** \brief The Tins namespace. */ diff --git a/include/tins/udp.h b/include/tins/udp.h index ab3c9ee..041f1d5 100644 --- a/include/tins/udp.h +++ b/include/tins/udp.h @@ -145,9 +145,8 @@ public: void sport(uint16_t new_sport); /** - * \brief Getter for the length field. + * \brief Set the length field. * \param new_len The new length field. - * \return The length field. */ void length(uint16_t new_len);