]> git.ipfire.org Git - thirdparty/libcgroup.git/commitdiff
src/abstraction-map.c: re-arrange the header files
authorKamalesh Babulal <kamalesh.babulal@oracle.com>
Wed, 9 Mar 2022 11:51:33 +0000 (17:21 +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-map.c

index 781c8077e24db8729f6148f001ac390294794658..def0d3b66598f64b54730580257e70bda364ef90 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>
 
 const struct cgroup_abstraction_map cgroup_v1_to_v2_map[] = {
        /* cpu controller */