From 73ca4b5c8da556de812837f1ea0c40f2479fef1a Mon Sep 17 00:00:00 2001 From: Philipp Jungkamp Date: Wed, 6 Sep 2023 17:08:16 +0200 Subject: [PATCH] Replace remaining C style comments Signed-off-by: Philipp Jungkamp --- lib/hooks/reorder_ts.cpp | 10 +++++----- lib/nodes/infiniband.cpp | 2 +- lib/nodes/rtp.cpp | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/hooks/reorder_ts.cpp b/lib/hooks/reorder_ts.cpp index 53fff9bd2..76048bde6 100644 --- a/lib/hooks/reorder_ts.cpp +++ b/lib/hooks/reorder_ts.cpp @@ -1,9 +1,9 @@ -/** Reorder samples hook. +/* Reorder samples hook. * * @author Philipp Jungkamp * @copyright 2023, OPAL-RT Germany GmbH * @license Apache 2.0 - *********************************************************************************/ + */ #include #include @@ -151,10 +151,10 @@ public: } }; -/* Register hook */ +// Register hook static char n[] = "reorder_ts"; static char d[] = "Reorder messages by their timestamp"; static HookPlugin p; -} /* namespace node */ -} /* namespace villas */ +} // namespace node +} // namespace villas diff --git a/lib/nodes/infiniband.cpp b/lib/nodes/infiniband.cpp index c465dc111..48c161567 100644 --- a/lib/nodes/infiniband.cpp +++ b/lib/nodes/infiniband.cpp @@ -980,7 +980,7 @@ int villas::node::ib_write(NodeCompat *n, struct Sample * const smps[], unsigned // TODO: fix release logic // n->logger->debug("{} samples will be released (before WC)", *release); - /* Try to grab as many CQEs from CQ as there is space in *smps[] */ + // Try to grab as many CQEs from CQ as there is space in *smps[] // ret = ibv_poll_cq(ib->ctx.send_cq, cnt - *release, wc); for (int i = 0; i < ret; i++) { diff --git a/lib/nodes/rtp.cpp b/lib/nodes/rtp.cpp index f21d19ef4..dc68965fb 100644 --- a/lib/nodes/rtp.cpp +++ b/lib/nodes/rtp.cpp @@ -209,7 +209,7 @@ int villas::node::rtp_parse(NodeCompat *n, json_t *json) sa_set_port(&r->in.saddr_rtp, port); sa_set_port(&r->in.saddr_rtcp, port+1); - /* TODO: parse * in addresses */ + // TODO: parse * in addresses return 0; }