diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2019-11-06 15:51:39 +0200 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2019-11-06 17:16:23 +0200 |
commit | 3009db77d599c6a397c24ba1a4e84c53299162c0 (patch) | |
tree | 2dc92e3848cb6de85cf29646418b6deac3dbb250 /kms++ | |
parent | c6984ae0666c06a7bee8812627069ae3c197ea9e (diff) |
kms++: modernize deprecated headers
Diffstat (limited to 'kms++')
-rw-r--r-- | kms++/src/card.cpp | 4 | ||||
-rw-r--r-- | kms++/src/connector.cpp | 2 | ||||
-rw-r--r-- | kms++/src/crtc.cpp | 2 | ||||
-rw-r--r-- | kms++/src/drmobject.cpp | 2 | ||||
-rw-r--r-- | kms++/src/drmpropobject.cpp | 2 | ||||
-rw-r--r-- | kms++/src/encoder.cpp | 2 | ||||
-rw-r--r-- | kms++/src/plane.cpp | 2 | ||||
-rw-r--r-- | kms++/src/videomode.cpp | 2 |
8 files changed, 9 insertions, 9 deletions
diff --git a/kms++/src/card.cpp b/kms++/src/card.cpp index a35b277..5b3d69e 100644 --- a/kms++/src/card.cpp +++ b/kms++/src/card.cpp @@ -1,9 +1,9 @@ -#include <stdio.h> +#include <cstdio> #include <unistd.h> #include <fcntl.h> #include <utility> #include <stdexcept> -#include <string.h> +#include <cstring> #include <algorithm> #include <cerrno> #include <algorithm> diff --git a/kms++/src/connector.cpp b/kms++/src/connector.cpp index a1807da..72f8777 100644 --- a/kms++/src/connector.cpp +++ b/kms++/src/connector.cpp @@ -1,4 +1,4 @@ -#include <stdio.h> +#include <cstdio> #include <iostream> #include <unistd.h> #include <fcntl.h> diff --git a/kms++/src/crtc.cpp b/kms++/src/crtc.cpp index f94216f..7ffaaff 100644 --- a/kms++/src/crtc.cpp +++ b/kms++/src/crtc.cpp @@ -1,4 +1,4 @@ -#include <stdio.h> +#include <cstdio> #include <iostream> #include <unistd.h> #include <fcntl.h> diff --git a/kms++/src/drmobject.cpp b/kms++/src/drmobject.cpp index f94fc5d..9c0f5ae 100644 --- a/kms++/src/drmobject.cpp +++ b/kms++/src/drmobject.cpp @@ -1,4 +1,4 @@ -#include <string.h> +#include <cstring> #include <iostream> #include <stdexcept> diff --git a/kms++/src/drmpropobject.cpp b/kms++/src/drmpropobject.cpp index f91f913..74f8848 100644 --- a/kms++/src/drmpropobject.cpp +++ b/kms++/src/drmpropobject.cpp @@ -1,4 +1,4 @@ -#include <string.h> +#include <cstring> #include <iostream> #include <stdexcept> diff --git a/kms++/src/encoder.cpp b/kms++/src/encoder.cpp index bfb2ea8..30a241a 100644 --- a/kms++/src/encoder.cpp +++ b/kms++/src/encoder.cpp @@ -1,4 +1,4 @@ -#include <stdio.h> +#include <cstdio> #include <iostream> #include <unistd.h> #include <fcntl.h> diff --git a/kms++/src/plane.cpp b/kms++/src/plane.cpp index f68c8d0..b040884 100644 --- a/kms++/src/plane.cpp +++ b/kms++/src/plane.cpp @@ -1,4 +1,4 @@ -#include <stdio.h> +#include <cstdio> #include <iostream> #include <unistd.h> #include <fcntl.h> diff --git a/kms++/src/videomode.cpp b/kms++/src/videomode.cpp index 7099898..b53f0c0 100644 --- a/kms++/src/videomode.cpp +++ b/kms++/src/videomode.cpp @@ -1,6 +1,6 @@ #include <xf86drm.h> #include <xf86drmMode.h> -#include <math.h> +#include <cmath> #include <sstream> #include <fmt/format.h> |