diff options
author | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2021-08-09 14:04:27 +0100 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2021-08-10 10:53:43 +0100 |
commit | aa1972529b67ccaa4800727923cda6609526a79a (patch) | |
tree | 2bc96f2a90b283693b79a14562133e4e73f31c17 /src | |
parent | a48a000a3304830e1ccbbc400209ba6e317b45c4 (diff) |
src: Remove all unused sys/mman.h inclusions
Remove leftover inclusions of the sys/mman header file.
Reviewed-by: Hirokazu Honda <hiroh@chromium.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/android/camera_device.cpp | 1 | ||||
-rw-r--r-- | src/libcamera/ipa_module.cpp | 1 | ||||
-rw-r--r-- | src/libcamera/pipeline/raspberrypi/raspberrypi.cpp | 1 | ||||
-rw-r--r-- | src/libcamera/v4l2_videodevice.cpp | 1 | ||||
-rw-r--r-- | src/v4l2/v4l2_camera_proxy.h | 1 | ||||
-rw-r--r-- | src/v4l2/v4l2_compat_manager.h | 1 |
6 files changed, 0 insertions, 6 deletions
diff --git a/src/android/camera_device.cpp b/src/android/camera_device.cpp index 701d0f89..a69b687a 100644 --- a/src/android/camera_device.cpp +++ b/src/android/camera_device.cpp @@ -12,7 +12,6 @@ #include <algorithm> #include <fstream> -#include <sys/mman.h> #include <unistd.h> #include <vector> diff --git a/src/libcamera/ipa_module.cpp b/src/libcamera/ipa_module.cpp index 3565fad6..c9ff7de3 100644 --- a/src/libcamera/ipa_module.cpp +++ b/src/libcamera/ipa_module.cpp @@ -16,7 +16,6 @@ #include <fcntl.h> #include <link.h> #include <string.h> -#include <sys/mman.h> #include <sys/stat.h> #include <sys/types.h> #include <unistd.h> diff --git a/src/libcamera/pipeline/raspberrypi/raspberrypi.cpp b/src/libcamera/pipeline/raspberrypi/raspberrypi.cpp index 0bab3bed..2e8774ae 100644 --- a/src/libcamera/pipeline/raspberrypi/raspberrypi.cpp +++ b/src/libcamera/pipeline/raspberrypi/raspberrypi.cpp @@ -10,7 +10,6 @@ #include <memory> #include <mutex> #include <queue> -#include <sys/mman.h> #include <unordered_set> #include <libcamera/camera.h> diff --git a/src/libcamera/v4l2_videodevice.cpp b/src/libcamera/v4l2_videodevice.cpp index ce55a74d..ce60dff6 100644 --- a/src/libcamera/v4l2_videodevice.cpp +++ b/src/libcamera/v4l2_videodevice.cpp @@ -13,7 +13,6 @@ #include <sstream> #include <string.h> #include <sys/ioctl.h> -#include <sys/mman.h> #include <sys/syscall.h> #include <sys/time.h> #include <unistd.h> diff --git a/src/v4l2/v4l2_camera_proxy.h b/src/v4l2/v4l2_camera_proxy.h index 92a79abb..f1a8b61c 100644 --- a/src/v4l2/v4l2_camera_proxy.h +++ b/src/v4l2/v4l2_camera_proxy.h @@ -12,7 +12,6 @@ #include <map> #include <memory> #include <set> -#include <sys/mman.h> #include <sys/types.h> #include <vector> diff --git a/src/v4l2/v4l2_compat_manager.h b/src/v4l2/v4l2_compat_manager.h index bc548ab2..1ec46162 100644 --- a/src/v4l2/v4l2_compat_manager.h +++ b/src/v4l2/v4l2_compat_manager.h @@ -11,7 +11,6 @@ #include <fcntl.h> #include <map> #include <memory> -#include <sys/mman.h> #include <sys/types.h> #include <vector> |