aboutsummaryrefslogtreecommitdiffstats
path: root/host/include
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2015-03-11 16:48:55 -0700
committerMartin Braun <martin.braun@ettus.com>2015-03-11 16:48:55 -0700
commiteed305afee7c5c34a48efd75dfb49ba20072f518 (patch)
tree00ee68465dda579e2198694a999369d22426a274 /host/include
parent21ccefb2facf3e85d0ab7146a6d4b93782688ade (diff)
downloaduhd-eed305afee7c5c34a48efd75dfb49ba20072f518.tar.gz
uhd-eed305afee7c5c34a48efd75dfb49ba20072f518.tar.bz2
uhd-eed305afee7c5c34a48efd75dfb49ba20072f518.zip
uhd: Fixed some punctuation-related compiler warnings
Diffstat (limited to 'host/include')
-rw-r--r--host/include/uhd/transport/vrt_if_packet.hpp4
-rw-r--r--host/include/uhd/types/clock_config.hpp4
-rw-r--r--host/include/uhd/utils/log.hpp10
3 files changed, 9 insertions, 9 deletions
diff --git a/host/include/uhd/transport/vrt_if_packet.hpp b/host/include/uhd/transport/vrt_if_packet.hpp
index d16892281..362531567 100644
--- a/host/include/uhd/transport/vrt_if_packet.hpp
+++ b/host/include/uhd/transport/vrt_if_packet.hpp
@@ -46,7 +46,7 @@ namespace vrt{
{
LINK_TYPE_NONE = 0x0,
LINK_TYPE_CHDR = 0x1,
- LINK_TYPE_VRLP = 0x2,
+ LINK_TYPE_VRLP = 0x2
} link_type;
//packet type
@@ -54,7 +54,7 @@ namespace vrt{
{
PACKET_TYPE_DATA = 0x0,
PACKET_TYPE_IF_EXT = 0x1,
- PACKET_TYPE_CONTEXT = 0x2, //extension context: has_sid = true
+ PACKET_TYPE_CONTEXT = 0x2 //extension context: has_sid = true
} packet_type;
//size fields
diff --git a/host/include/uhd/types/clock_config.hpp b/host/include/uhd/types/clock_config.hpp
index 27b312245..6d5d01ec2 100644
--- a/host/include/uhd/types/clock_config.hpp
+++ b/host/include/uhd/types/clock_config.hpp
@@ -47,12 +47,12 @@ namespace uhd{
REF_AUTO = int('a'), //automatic (device specific)
REF_INT = int('i'), //internal reference
REF_SMA = int('s'), //external sma port
- REF_MIMO = int('m'), //reference from mimo cable
+ REF_MIMO = int('m') //reference from mimo cable
} ref_source;
enum pps_source_t {
PPS_INT = int('i'), //there is no internal
PPS_SMA = int('s'), //external sma port
- PPS_MIMO = int('m'), //time sync from mimo cable
+ PPS_MIMO = int('m') //time sync from mimo cable
} pps_source;
enum pps_polarity_t {
PPS_NEG = int('n'), //negative edge
diff --git a/host/include/uhd/utils/log.hpp b/host/include/uhd/utils/log.hpp
index 5baa00108..106c0d9d5 100644
--- a/host/include/uhd/utils/log.hpp
+++ b/host/include/uhd/utils/log.hpp
@@ -76,7 +76,7 @@ namespace uhd{ namespace _log{
regularly = 3,
rarely = 4,
very_rarely = 5,
- never = 6,
+ never = 6
};
//! Internal logging object (called by UHD_LOG macros)
@@ -101,12 +101,12 @@ namespace uhd{ namespace _log{
// General insertion overload
template <typename T>
- INSERTION_OVERLOAD(T val);
+ INSERTION_OVERLOAD(T val)
// Insertion overloads for std::ostream manipulators
- INSERTION_OVERLOAD(std::ostream& (*val)(std::ostream&));
- INSERTION_OVERLOAD(std::ios& (*val)(std::ios&));
- INSERTION_OVERLOAD(std::ios_base& (*val)(std::ios_base&));
+ INSERTION_OVERLOAD(std::ostream& (*val)(std::ostream&))
+ INSERTION_OVERLOAD(std::ios& (*val)(std::ios&))
+ INSERTION_OVERLOAD(std::ios_base& (*val)(std::ios_base&))
private:
std::ostringstream _ss;