]> xenbits.xensource.com Git - unikraft/unikraft.git/commitdiff
lib/posix-process: Fix formatting of Config.uk
authorMichalis Pappas <michalis@unikraft.io>
Thu, 28 Dec 2023 09:55:29 +0000 (10:55 +0100)
committerUnikraft Bot <monkey@unikraft.io>
Wed, 26 Mar 2025 08:05:34 +0000 (08:05 +0000)
Update the indentation of Config.uk to adhere to Unikraft's coding
conventions. Remove `default n` items being redundant as `bool`
symbols default to `n`.

Signed-off-by: Michalis Pappas <michalis@unikraft.io>
Reviewed-by: Ioan-Teodor Teugea <ioan_teodor.teugea@stud.acs.upb.ro>
Reviewed-by: Sergiu Moga <sergiu@unikraft.io>
Reviewed-by: Andrei Tatar <andrei@unikraft.io>
Approved-by: Andrei Tatar <andrei@unikraft.io>
GitHub-Closes: #1248

lib/posix-process/Config.uk

index 49ea8218ac0aca1c16f2d522374bfcbe4fda616e..953205b5a47be44ed84387573b0c6f4d92b43e6f 100644 (file)
@@ -1,28 +1,27 @@
 menuconfig LIBPOSIX_PROCESS
        bool "posix-process: Process-related functions"
-       default n
        select LIBNOLIBC if !HAVE_LIBC
 
 if LIBPOSIX_PROCESS
-       menuconfig LIBPOSIX_PROCESS_PIDS
-               bool "Process and thread IDs"
-               default n
-               select LIBUKSCHED
+
+menuconfig LIBPOSIX_PROCESS_PIDS
+       bool "Process and thread IDs"
+       select LIBUKSCHED
 
 if LIBPOSIX_PROCESS_PIDS
-               config LIBPOSIX_PROCESS_MAX_PID
-               int "Largest PID"
-               range 1 32767
-               default 31
-
-               config LIBPOSIX_PROCESS_INIT_PIDS
-               bool "Assign PID during boot"
-               default n
+
+config LIBPOSIX_PROCESS_MAX_PID
+       int "Largest PID"
+       range 1 32767
+       default 31
+
+config LIBPOSIX_PROCESS_INIT_PIDS
+       bool "Assign PID during boot"
+
 endif
 
 config LIBPOSIX_PROCESS_CLONE
        bool "clone() system call"
-       default n
        select LIBPOSIX_PROCESS_PIDS
 
 config LIBPOSIX_PROCESS_CLONE_PREFER_CHILD
@@ -46,6 +45,5 @@ config LIBPOSIX_PROCESS_VFORK
 
 config LIBPOSIX_PROCESS_DEBUG
        bool "Enable debug messages"
-       default n
 
 endif