Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Jul 2017 20:32:54 +0000 (UTC)
From:      Vladimir Kondratyev <wulf@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r321397 - head/sys/dev/evdev
Message-ID:  <201707232032.v6NKWsMv095656@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wulf
Date: Sun Jul 23 20:32:54 2017
New Revision: 321397
URL: https://svnweb.freebsd.org/changeset/base/321397

Log:
  evdev: style(9), sort headers alphabetically
  
  Pointed out by:	bde
  Reviewed by:	gonzo
  Approved by:	gonzo (mentor)
  MFC after:	2 weeks

Modified:
  head/sys/dev/evdev/cdev.c
  head/sys/dev/evdev/evdev.c
  head/sys/dev/evdev/evdev_mt.c
  head/sys/dev/evdev/evdev_private.h
  head/sys/dev/evdev/evdev_utils.c
  head/sys/dev/evdev/input.h
  head/sys/dev/evdev/uinput.c

Modified: head/sys/dev/evdev/cdev.c
==============================================================================
--- head/sys/dev/evdev/cdev.c	Sun Jul 23 20:25:53 2017	(r321396)
+++ head/sys/dev/evdev/cdev.c	Sun Jul 23 20:32:54 2017	(r321397)
@@ -29,24 +29,23 @@
 
 #include "opt_evdev.h"
 
-#include <sys/types.h>
-#include <sys/bitstring.h>
-#include <sys/systm.h>
 #include <sys/param.h>
-#include <sys/kernel.h>
+#include <sys/bitstring.h>
 #include <sys/conf.h>
-#include <sys/uio.h>
-#include <sys/proc.h>
-#include <sys/poll.h>
 #include <sys/filio.h>
 #include <sys/fcntl.h>
-#include <sys/selinfo.h>
+#include <sys/kernel.h>
 #include <sys/malloc.h>
+#include <sys/poll.h>
+#include <sys/proc.h>
+#include <sys/selinfo.h>
+#include <sys/systm.h>
 #include <sys/time.h>
+#include <sys/uio.h>
 
-#include <dev/evdev/input.h>
 #include <dev/evdev/evdev.h>
 #include <dev/evdev/evdev_private.h>
+#include <dev/evdev/input.h>
 
 #ifdef EVDEV_DEBUG
 #define	debugf(client, fmt, args...)	printf("evdev cdev: "fmt"\n", ##args)

Modified: head/sys/dev/evdev/evdev.c
==============================================================================
--- head/sys/dev/evdev/evdev.c	Sun Jul 23 20:25:53 2017	(r321396)
+++ head/sys/dev/evdev/evdev.c	Sun Jul 23 20:32:54 2017	(r321397)
@@ -29,19 +29,18 @@
 
 #include "opt_evdev.h"
 
-#include <sys/types.h>
-#include <sys/systm.h>
 #include <sys/param.h>
-#include <sys/kernel.h>
-#include <sys/module.h>
+#include <sys/bitstring.h>
 #include <sys/conf.h>
+#include <sys/kernel.h>
 #include <sys/malloc.h>
-#include <sys/bitstring.h>
+#include <sys/module.h>
 #include <sys/sysctl.h>
+#include <sys/systm.h>
 
-#include <dev/evdev/input.h>
 #include <dev/evdev/evdev.h>
 #include <dev/evdev/evdev_private.h>
+#include <dev/evdev/input.h>
 
 #ifdef EVDEV_DEBUG
 #define	debugf(evdev, fmt, args...)	printf("evdev: " fmt "\n", ##args)

Modified: head/sys/dev/evdev/evdev_mt.c
==============================================================================
--- head/sys/dev/evdev/evdev_mt.c	Sun Jul 23 20:25:53 2017	(r321396)
+++ head/sys/dev/evdev/evdev_mt.c	Sun Jul 23 20:32:54 2017	(r321397)
@@ -27,14 +27,14 @@
  */
 
 #include <sys/param.h>
-#include <sys/malloc.h>
 #include <sys/lock.h>
+#include <sys/malloc.h>
 #include <sys/mutex.h>
 #include <sys/systm.h>
 
-#include <dev/evdev/input.h>
 #include <dev/evdev/evdev.h>
 #include <dev/evdev/evdev_private.h>
+#include <dev/evdev/input.h>
 
 #ifdef DEBUG
 #define	debugf(fmt, args...)	printf("evdev: " fmt "\n", ##args)

Modified: head/sys/dev/evdev/evdev_private.h
==============================================================================
--- head/sys/dev/evdev/evdev_private.h	Sun Jul 23 20:25:53 2017	(r321396)
+++ head/sys/dev/evdev/evdev_private.h	Sun Jul 23 20:32:54 2017	(r321397)
@@ -31,10 +31,11 @@
 #define	_DEV_EVDEV_EVDEV_PRIVATE_H
 
 #include <sys/bitstring.h>
-#include <sys/queue.h>
-#include <sys/malloc.h>
 #include <sys/kbio.h>
+#include <sys/malloc.h>
+#include <sys/queue.h>
 #include <sys/selinfo.h>
+
 #include <dev/evdev/evdev.h>
 #include <dev/evdev/input.h>
 #include <dev/kbd/kbdreg.h>

Modified: head/sys/dev/evdev/evdev_utils.c
==============================================================================
--- head/sys/dev/evdev/evdev_utils.c	Sun Jul 23 20:25:53 2017	(r321396)
+++ head/sys/dev/evdev/evdev_utils.c	Sun Jul 23 20:32:54 2017	(r321397)
@@ -27,17 +27,16 @@
  * $FreeBSD$
  */
 
-#include <sys/types.h>
-#include <sys/systm.h>
 #include <sys/param.h>
 #include <sys/bus.h>
-#include <sys/kernel.h>
 #include <sys/conf.h>
-#include <sys/malloc.h>
 #include <sys/kbio.h>
+#include <sys/kernel.h>
+#include <sys/malloc.h>
+#include <sys/systm.h>
 
-#include <dev/evdev/input.h>
 #include <dev/evdev/evdev.h>
+#include <dev/evdev/input.h>
 
 #include <dev/kbd/kbdreg.h>
 

Modified: head/sys/dev/evdev/input.h
==============================================================================
--- head/sys/dev/evdev/input.h	Sun Jul 23 20:25:53 2017	(r321396)
+++ head/sys/dev/evdev/input.h	Sun Jul 23 20:32:54 2017	(r321397)
@@ -31,8 +31,8 @@
 #define	_EVDEV_INPUT_H
 
 #ifndef __KERNEL__
-#include <sys/time.h>
 #include <sys/ioccom.h>
+#include <sys/time.h>
 #include <sys/types.h>
 #endif
 

Modified: head/sys/dev/evdev/uinput.c
==============================================================================
--- head/sys/dev/evdev/uinput.c	Sun Jul 23 20:25:53 2017	(r321396)
+++ head/sys/dev/evdev/uinput.c	Sun Jul 23 20:32:54 2017	(r321397)
@@ -29,25 +29,24 @@
 
 #include "opt_evdev.h"
 
-#include <sys/types.h>
-#include <sys/systm.h>
 #include <sys/param.h>
+#include <sys/conf.h>
 #include <sys/fcntl.h>
 #include <sys/kernel.h>
+#include <sys/lock.h>
+#include <sys/malloc.h>
 #include <sys/module.h>
-#include <sys/conf.h>
-#include <sys/uio.h>
-#include <sys/proc.h>
 #include <sys/poll.h>
+#include <sys/proc.h>
 #include <sys/selinfo.h>
-#include <sys/malloc.h>
-#include <sys/lock.h>
+#include <sys/systm.h>
 #include <sys/sx.h>
+#include <sys/uio.h>
 
-#include <dev/evdev/input.h>
-#include <dev/evdev/uinput.h>
 #include <dev/evdev/evdev.h>
 #include <dev/evdev/evdev_private.h>
+#include <dev/evdev/input.h>
+#include <dev/evdev/uinput.h>
 
 #ifdef UINPUT_DEBUG
 #define	debugf(state, fmt, args...)	printf("uinput: " fmt "\n", ##args)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201707232032.v6NKWsMv095656>