summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2019-08-21 16:53:22 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2019-08-21 16:53:22 +0200
commitdb3abbc7fc0940a602a7dac01a8f8b38ceca2a5f (patch)
tree79cc9886fe82480551f75b0f8a40cf5cd244e9c3
parentbd123187b3049296adcae35f01427f8c59a51024 (diff)
downloaddabmod-db3abbc7fc0940a602a7dac01a8f8b38ceca2a5f.tar.gz
dabmod-db3abbc7fc0940a602a7dac01a8f8b38ceca2a5f.tar.bz2
dabmod-db3abbc7fc0940a602a7dac01a8f8b38ceca2a5f.zip
Make EDI includes consistent
-rw-r--r--lib/edi/ETIDecoder.cpp2
-rw-r--r--lib/edi/PFT.cpp2
-rw-r--r--lib/edi/PFT.hpp5
-rw-r--r--lib/edi/buffer_unpack.hpp2
-rw-r--r--lib/edi/eti.hpp4
5 files changed, 8 insertions, 7 deletions
diff --git a/lib/edi/ETIDecoder.cpp b/lib/edi/ETIDecoder.cpp
index a1b801b..1fa9c3c 100644
--- a/lib/edi/ETIDecoder.cpp
+++ b/lib/edi/ETIDecoder.cpp
@@ -22,7 +22,7 @@
#include "buffer_unpack.hpp"
#include "crc.h"
#include "Log.h"
-#include <stdio.h>
+#include <cstdio>
#include <cassert>
#include <sstream>
diff --git a/lib/edi/PFT.cpp b/lib/edi/PFT.cpp
index aff7929..158b206 100644
--- a/lib/edi/PFT.cpp
+++ b/lib/edi/PFT.cpp
@@ -20,7 +20,7 @@
* -------------------------------------------------------------------
*/
-#include <stdio.h>
+#include <cstdio>
#include <cassert>
#include <cstring>
#include <sstream>
diff --git a/lib/edi/PFT.hpp b/lib/edi/PFT.hpp
index 779509b..208fd70 100644
--- a/lib/edi/PFT.hpp
+++ b/lib/edi/PFT.hpp
@@ -21,10 +21,11 @@
*/
#pragma once
-#include <stdio.h>
+#include <cstdio>
+#include <cstdint>
#include <vector>
#include <map>
-#include <stdint.h>
+#include <string>
namespace EdiDecoder {
namespace PFT {
diff --git a/lib/edi/buffer_unpack.hpp b/lib/edi/buffer_unpack.hpp
index 05a1534..a996017 100644
--- a/lib/edi/buffer_unpack.hpp
+++ b/lib/edi/buffer_unpack.hpp
@@ -20,7 +20,7 @@
*/
#pragma once
-#include <stdint.h>
+#include <cstdint>
namespace EdiDecoder {
diff --git a/lib/edi/eti.hpp b/lib/edi/eti.hpp
index 451ca48..372f098 100644
--- a/lib/edi/eti.hpp
+++ b/lib/edi/eti.hpp
@@ -24,10 +24,10 @@
#pragma once
-#include <stdint.h>
+#include <cstdint>
#define PACKED __attribute__ ((packed))
-#include <time.h>
+#include <ctime>
namespace EdiDecoder {