[Replicant] [libsamsung-ipc] [PATCH 1/2] samsung-ipc/utils: reorder includes

Denis 'GNUtoo' Carikli GNUtoo at cyberdimension.org
Mon Aug 31 16:14:28 UTC 2020


This reorders includes alphabetically and groups them together:
- C standard library includes of depth 1 are grouped together
- "System" libraries of depth > 1 age grouped together
- The (lib)samsung-ipc include(s) is/are grouped together

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo at cyberdimension.org>
---
 samsung-ipc/utils.c | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/samsung-ipc/utils.c b/samsung-ipc/utils.c
index da35e59..c92fc36 100644
--- a/samsung-ipc/utils.c
+++ b/samsung-ipc/utils.c
@@ -17,20 +17,21 @@
  * along with libsamsung-ipc.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+#include <ctype.h>
+#include <fcntl.h>
+#include <stdint.h>
 #include <stdio.h>
 #include <stdlib.h>
-#include <stdint.h>
-#include <unistd.h>
 #include <string.h>
-#include <fcntl.h>
-#include <ctype.h>
-#include <sys/ioctl.h>
-#include <sys/stat.h>
-#include <sys/types.h>
-#include <sys/socket.h>
+#include <unistd.h>
+
 #include <asm/types.h>
 #include <linux/netlink.h>
 #include <net/if.h>
+#include <sys/ioctl.h>
+#include <sys/socket.h>
+#include <sys/stat.h>
+#include <sys/types.h>
 
 #include <samsung-ipc.h>
 
-- 
2.28.0



More information about the Replicant mailing list