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

index 7fa9bae58f58e4a08f8d02ae84ff994a0a9c2403..891b2ee2bda03acc5bd7ba1b4e36f127384b7cb6 100644 (file)
  * along with this library; if not, see <http://www.gnu.org/licenses>.
  */
 
+#include "abstraction-common.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 <errno.h>
+#include <stdio.h>
 
 static const char * const MEMBER = "member";
 static const char * const ROOT = "root";