]> git.ipfire.org Git - thirdparty/libcgroup.git/commitdiff
src/abstraction-cpu.c: re-arrange the header files
authorKamalesh Babulal <kamalesh.babulal@oracle.com>
Wed, 9 Mar 2022 11:46:32 +0000 (17:16 +0530)
committerTom Hromatka <tom.hromatka@oracle.com>
Fri, 11 Mar 2022 14:46:21 +0000 (07:46 -0700)
Re-arrange the headers files, in the following order:
1. Header files that declare the functions, are defined in this file.
2. Other header files from the libcgroup.
3. Standard header file.

Signed-off-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
src/abstraction-cpu.c

index 4b5cfe2da19a9baf5fc7c3a42275883b7b314dad..310efcdd9dad4d5ed7c4b79f96ef2fd1194b0fa9 100644 (file)
  * along with this library; if not, see <http://www.gnu.org/licenses>.
  */
 
+#include "abstraction-common.h"
+#include "abstraction-map.h"
+
 #include <libcgroup.h>
 #include <libcgroup-internal.h>
 
-#include <errno.h>
-#include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
-
-#include "abstraction-common.h"
-#include "abstraction-map.h"
+#include <errno.h>
+#include <stdio.h>
 
 #define LL_MAX 8192