summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main.c8
-rw-r--r--src/mediactl.c8
-rw-r--r--src/options.c2
-rw-r--r--src/v4l2subdev.c2
4 files changed, 10 insertions, 10 deletions
diff --git a/src/main.c b/src/main.c
index 2345255..140f9d7 100644
--- a/src/main.c
+++ b/src/main.c
@@ -19,10 +19,10 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <sys/mman.h>
#include <sys/ioctl.h>
-#include <sys/time.h>
+#include <sys/mman.h>
#include <sys/stat.h>
+#include <sys/time.h>
#include <ctype.h>
#include <errno.h>
@@ -33,16 +33,16 @@
#include <string.h>
#include <unistd.h>
-#include <linux/types.h>
#include <linux/media.h>
+#include <linux/types.h>
#include <linux/v4l2-mediabus.h>
#include <linux/v4l2-subdev.h>
#include <linux/videodev2.h>
#include "mediactl.h"
#include "options.h"
-#include "v4l2subdev.h"
#include "tools.h"
+#include "v4l2subdev.h"
/* -----------------------------------------------------------------------------
* Printing
diff --git a/src/mediactl.c b/src/mediactl.c
index 46562de..d3eb7bd 100644
--- a/src/mediactl.c
+++ b/src/mediactl.c
@@ -25,16 +25,16 @@
#include <sys/stat.h>
#include <sys/types.h>
-#include <unistd.h>
+#include <errno.h>
+#include <fcntl.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <fcntl.h>
-#include <errno.h>
+#include <unistd.h>
-#include <linux/videodev2.h>
#include <linux/media.h>
+#include <linux/videodev2.h>
#include "mediactl.h"
#include "tools.h"
diff --git a/src/options.c b/src/options.c
index 4dc542f..4435d0b 100644
--- a/src/options.c
+++ b/src/options.c
@@ -19,9 +19,9 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <stdlib.h>
#include <getopt.h>
#include <stdio.h>
+#include <stdlib.h>
#include <unistd.h>
#include "options.h"
diff --git a/src/v4l2subdev.c b/src/v4l2subdev.c
index d0c37f3..f622a27 100644
--- a/src/v4l2subdev.c
+++ b/src/v4l2subdev.c
@@ -33,8 +33,8 @@
#include <linux/v4l2-subdev.h>
#include "mediactl.h"
-#include "v4l2subdev.h"
#include "tools.h"
+#include "v4l2subdev.h"
int v4l2_subdev_open(struct media_entity *entity)
{