summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2013-03-25 23:00:35 +0100
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2013-03-25 23:02:38 +0100
commit54879fe10a5490d4b053f84b5e7c31ed9c2b1729 (patch)
tree8ddb4bdde977645f54fda463b54d7cf88b5ef086
parent88c1d54e9e9950ef3b8b2ac7a9752493c46dd5e4 (diff)
Sort headers alphabetically
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-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)
{