]> git.ipfire.org Git - thirdparty/libcgroup.git/commitdiff
abstraction-cpuset.c: increase the column width to 100
authorKamalesh Babulal <kamalesh.babulal@oracle.com>
Thu, 30 Jun 2022 07:33:11 +0000 (13:03 +0530)
committerTom Hromatka <tom.hromatka@oracle.com>
Mon, 11 Jul 2022 17:09:22 +0000 (11:09 -0600)
100 column width is more comfortable to read over 80 columns, lets
increase it.  This patch, also introduced/removes empty lines across
the file, making it more readable.

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

index 286aaf3cb80d6c3624f3d95a26360f4fe8641801..745847050fd2a6349fc2774a47d49b86087f5e66 100644 (file)
 static const char * const MEMBER = "member";
 static const char * const ROOT = "root";
 
-int cgroup_convert_cpuset_to_exclusive(
-       struct cgroup_controller * const dst_cgc,
-       const char * const in_value,
-       const char * const out_setting,
-       void *in_dflt, void *out_dflt)
+int cgroup_convert_cpuset_to_exclusive(struct cgroup_controller * const dst_cgc,
+                                      const char * const in_value, const char * const out_setting,
+                                      void *in_dflt, void *out_dflt)
 {
        int ret;
 
@@ -36,11 +34,10 @@ int cgroup_convert_cpuset_to_exclusive(
        return ret;
 }
 
-int cgroup_convert_cpuset_to_partition(
-       struct cgroup_controller * const dst_cgc,
-       const char * const in_value,
-       const char * const out_setting,
-       void *in_dflt, void *out_dflt)
+int cgroup_convert_cpuset_to_partition(struct cgroup_controller * const dst_cgc,
+                                      const char * const in_value,
+                                      const char * const out_setting,
+                                      void *in_dflt, void *out_dflt)
 {
        int ret;