summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/lib/vmcircbuf_mmap_shm_open.cc
diff options
context:
space:
mode:
authorMarcus Müller <mmueller@gnuradio.org>2021-01-18 12:42:33 +0100
committerMarcus Müller <marcus@hostalia.de>2021-01-19 12:21:46 +0100
commitd1ba72a0fe5e8deabc6f94cd7bf97a030438c7ee (patch)
tree4971b9715934c0fe1f5d23c7de1a925a2b8af7f5 /gnuradio-runtime/lib/vmcircbuf_mmap_shm_open.cc
parent3c5b6181d62110bd78628ad356ac03f69ce0c5b0 (diff)
clang-tidy: run full .clang-tidy on C++17 codebase
run /usr/share/clang/run-clang-tidy.py -checks=file '-header-filter=.*' -fix .. from build directory. Then, clang-format -i $(git diff --name-only origin/master) to clang-format changed files. Then, refresh all header hashes in pybind bindings (*/python/bindings/*.cc) Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
Diffstat (limited to 'gnuradio-runtime/lib/vmcircbuf_mmap_shm_open.cc')
-rw-r--r--gnuradio-runtime/lib/vmcircbuf_mmap_shm_open.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/gnuradio-runtime/lib/vmcircbuf_mmap_shm_open.cc b/gnuradio-runtime/lib/vmcircbuf_mmap_shm_open.cc
index becbe4b27b..f362aea613 100644
--- a/gnuradio-runtime/lib/vmcircbuf_mmap_shm_open.cc
+++ b/gnuradio-runtime/lib/vmcircbuf_mmap_shm_open.cc
@@ -13,9 +13,9 @@
#endif
#include "vmcircbuf_mmap_shm_open.h"
-#include <assert.h>
#include <fcntl.h>
#include <unistd.h>
+#include <cassert>
#include <stdexcept>
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
@@ -25,9 +25,9 @@
#endif
#include "pagesize.h"
#include <gnuradio/sys_paths.h>
-#include <errno.h>
-#include <stdio.h>
#include <boost/format.hpp>
+#include <cerrno>
+#include <cstdio>
namespace gr {