Index: uspace/app/bdsh/cmds/builtin_cmds.c
===================================================================
--- uspace/app/bdsh/cmds/builtin_cmds.c	(revision 47e00b8364871fedb5a2508cfc367b91b0cb8e63)
+++ uspace/app/bdsh/cmds/builtin_cmds.c	(revision 904b1bc3e43b98f81bec9e9296b154371c383776)
@@ -27,6 +27,8 @@
  */
 
-/* Almost identical (for now) to mod_cmds.c , however this will not be the case
- * soon as builtin_t is going to grow way beyond module_t */
+/*
+ * Almost identical (for now) to mod_cmds.c, however this will not be the case
+ * soon as builtin_t is going to grow way beyond module_t
+ */
 
 #include <stdio.h>
Index: uspace/app/bdsh/cmds/builtins/batch/batch.c
===================================================================
--- uspace/app/bdsh/cmds/builtins/batch/batch.c	(revision 47e00b8364871fedb5a2508cfc367b91b0cb8e63)
+++ uspace/app/bdsh/cmds/builtins/batch/batch.c	(revision 904b1bc3e43b98f81bec9e9296b154371c383776)
@@ -66,6 +66,7 @@
 }
 
-/* Main entry point for batch, accepts an array of arguments and a
- * pointer to the cliuser_t structure */
+/** Main entry point for batch, accepts an array of arguments and a
+ * pointer to the cliuser_t structure
+ */
 int cmd_batch(char **argv, cliuser_t *usr)
 {
Index: uspace/app/bdsh/cmds/builtins/cd/cd.c
===================================================================
--- uspace/app/bdsh/cmds/builtins/cd/cd.c	(revision 47e00b8364871fedb5a2508cfc367b91b0cb8e63)
+++ uspace/app/bdsh/cmds/builtins/cd/cd.c	(revision 904b1bc3e43b98f81bec9e9296b154371c383776)
@@ -41,5 +41,6 @@
 static const char *cmdname = "cd";
 
-/* Previous directory variables.
+/*
+ * Previous directory variables.
  *
  * Declaring them static to avoid many "== NULL" checks.
@@ -101,8 +102,10 @@
 	}
 
-	/* We don't yet play nice with whitespace, a getopt implementation should
+	/*
+	 * We don't yet play nice with whitespace, a getopt implementation should
 	 * protect "quoted\ destination" as a single argument. Its not our job to
 	 * look for && || or redirection as the tokenizer should have done that
-	 * (currently, it does not) */
+	 * (currently, it does not)
+	 */
 
 	if (argc > 2) {
Index: uspace/app/bdsh/cmds/builtins/exit/exit.c
===================================================================
--- uspace/app/bdsh/cmds/builtins/exit/exit.c	(revision 47e00b8364871fedb5a2508cfc367b91b0cb8e63)
+++ uspace/app/bdsh/cmds/builtins/exit/exit.c	(revision 904b1bc3e43b98f81bec9e9296b154371c383776)
@@ -44,6 +44,7 @@
 }
 
-/* Quits the program and returns the status of whatever command
- * came before invoking 'quit' */
+/** Quits the program and returns the status of whatever command
+ * came before invoking 'quit'
+ */
 int cmd_exit(char *argv[], cliuser_t *usr)
 {
Index: uspace/app/bdsh/cmds/cmds.h
===================================================================
--- uspace/app/bdsh/cmds/cmds.h	(revision 47e00b8364871fedb5a2508cfc367b91b0cb8e63)
+++ uspace/app/bdsh/cmds/cmds.h	(revision 904b1bc3e43b98f81bec9e9296b154371c383776)
@@ -76,6 +76,8 @@
 } builtin_t;
 
-/* Declared in cmds/modules/modules.h and cmds/builtins/builtins.h
- * respectively */
+/*
+ * Declared in cmds/modules/modules.h and cmds/builtins/builtins.h
+ * respectively
+ */
 extern module_t modules[];
 extern builtin_t builtins[];
Index: uspace/app/bdsh/cmds/mod_cmds.c
===================================================================
--- uspace/app/bdsh/cmds/mod_cmds.c	(revision 47e00b8364871fedb5a2508cfc367b91b0cb8e63)
+++ uspace/app/bdsh/cmds/mod_cmds.c	(revision 904b1bc3e43b98f81bec9e9296b154371c383776)
@@ -27,5 +27,6 @@
  */
 
-/* NOTES:
+/*
+ * NOTES:
  * module_* functions are pretty much identical to builtin_* functions at this
  * point. On the surface, it would appear that making each function dual purpose
@@ -37,9 +38,12 @@
  *
  * To keep things easy to hack, everything is separated. In reality this only adds
- * 6 - 8 extra functions, but keeps each function very easy to read and modify. */
+ * 6 - 8 extra functions, but keeps each function very easy to read and modify.
+ */
 
-/* TODO:
+/*
+ * TODO:
  * Many of these could be unsigned, provided the modules and builtins themselves
- * can follow suit. Long term goal. */
+ * can follow suit. Long term goal.
+ */
 
 #include <stdio.h>
@@ -53,6 +57,8 @@
 extern volatile unsigned int cli_interactive;
 
-/* Checks if an entry function matching command exists in modules[], if so
- * its position in the array is returned */
+/** Checks if an entry function matching command exists in modules[]
+ *
+ * If so, its position in the array is returned
+ */
 int is_module(const char *command)
 {
@@ -71,6 +77,8 @@
 }
 
-/* Checks if a module is an alias (sharing an entry point with another
- * module). Returns 1 if so */
+/*
+ * Checks if a module is an alias (sharing an entry point with another
+ * module). Returns 1 if so
+ */
 int is_module_alias(const char *command)
 {
@@ -105,6 +113,8 @@
 
 
-/* Invokes the 'help' entry function for the module at position (int) module,
- * which wants an unsigned int to determine brief or extended display. */
+/** Invokes the 'help' entry function for the module at position (int) module
+ *
+ * which wants an unsigned int to determine brief or extended display.
+ */
 int help_module(int module, unsigned int extended)
 {
@@ -121,6 +131,8 @@
 }
 
-/* Invokes the module entry point modules[module], passing argv[] as an argument
- * stack. */
+/** Invokes the module entry point modules[module]
+ *
+ * passing argv[] as an argument stack.
+ */
 int run_module(int module, char *argv[], iostate_t *new_iostate)
 {
Index: uspace/app/bdsh/cmds/modules/cat/cat.c
===================================================================
--- uspace/app/bdsh/cmds/modules/cat/cat.c	(revision 47e00b8364871fedb5a2508cfc367b91b0cb8e63)
+++ uspace/app/bdsh/cmds/modules/cat/cat.c	(revision 904b1bc3e43b98f81bec9e9296b154371c383776)
@@ -274,6 +274,8 @@
 						break;
 					} else if (c == U_SPECIAL && offset + 2 >= (size_t)bytes) {
-						/* If an extended character is cut off due to the size of the buffer,
-						   we will copy it over to the next buffer so it can be read correctly. */
+						/*
+						 * If an extended character is cut off due to the size of the buffer,
+						 * we will copy it over to the next buffer so it can be read correctly.
+						 */
 						copied_bytes = bytes - offset + 1;
 						memcpy(buff, buff + offset - 1, copied_bytes);
Index: uspace/app/bdsh/cmds/modules/cp/cp.c
===================================================================
--- uspace/app/bdsh/cmds/modules/cp/cp.c	(revision 47e00b8364871fedb5a2508cfc367b91b0cb8e63)
+++ uspace/app/bdsh/cmds/modules/cp/cp.c	(revision 904b1bc3e43b98f81bec9e9296b154371c383776)
@@ -207,5 +207,6 @@
 			/* e.g. cp file_name /data/ */
 
-			/* dest is a directory,
+			/*
+			 * dest is a directory,
 			 * append the src filename to it.
 			 */
@@ -231,5 +232,6 @@
 			/* e.g. cp file_name existing_file */
 
-			/* dest already exists,
+			/*
+			 * dest already exists,
 			 * if force is set we will try to remove it.
 			 * if interactive is set user input is required.
@@ -298,5 +300,6 @@
 			if (str_cmp(src_dirname, "..") &&
 			    str_cmp(src_dirname, ".")) {
-				/* The last component of src_path is
+				/*
+				 * The last component of src_path is
 				 * not '.' or '..'
 				 */
@@ -314,5 +317,6 @@
 		default:
 		case TYPE_NONE:
-			/* dest does not exists, this means the user wants
+			/*
+			 * dest does not exists, this means the user wants
 			 * to specify the name of the destination directory
 			 *
@@ -336,5 +340,6 @@
 		}
 
-		/* Copy every single directory entry of src into the
+		/*
+		 * Copy every single directory entry of src into the
 		 * destination directory.
 		 */
Index: uspace/app/bdsh/cmds/modules/ls/ls.c
===================================================================
--- uspace/app/bdsh/cmds/modules/ls/ls.c	(revision 47e00b8364871fedb5a2508cfc367b91b0cb8e63)
+++ uspace/app/bdsh/cmds/modules/ls/ls.c	(revision 904b1bc3e43b98f81bec9e9296b154371c383776)
@@ -27,7 +27,9 @@
  */
 
-/* NOTE:
+/*
+ * NOTE:
  * This is a bit of an ugly hack, working around the absence of fstat / etc.
- * As more stuff is completed and exposed in libc, this will improve */
+ * As more stuff is completed and exposed in libc, this will improve
+ */
 
 #include <errno.h>
Index: uspace/app/bdsh/cmds/modules/module_aliases.h
===================================================================
--- uspace/app/bdsh/cmds/modules/module_aliases.h	(revision 47e00b8364871fedb5a2508cfc367b91b0cb8e63)
+++ uspace/app/bdsh/cmds/modules/module_aliases.h	(revision 904b1bc3e43b98f81bec9e9296b154371c383776)
@@ -30,13 +30,17 @@
 #define MODULE_ALIASES_H
 
-/* Modules that declare multiple names for themselves but use the
+/*
+ * Modules that declare multiple names for themselves but use the
  * same entry functions are aliases. This array helps to determine if
  * a module is an alias, as such it can be invoked differently.
- * format is alias , real_name */
+ * format is alias , real_name
+ */
 
-/* So far, this is only used in the help display but could be used to
+/*
+ * So far, this is only used in the help display but could be used to
  * handle a module differently even prior to reaching its entry code.
  * For instance, 'exit' could behave differently than 'quit', prior to
- * the entry point being reached. */
+ * the entry point being reached.
+ */
 
 const char *mod_aliases[] = {
Index: uspace/app/bdsh/cmds/modules/modules.h
===================================================================
--- uspace/app/bdsh/cmds/modules/modules.h	(revision 47e00b8364871fedb5a2508cfc367b91b0cb8e63)
+++ uspace/app/bdsh/cmds/modules/modules.h	(revision 904b1bc3e43b98f81bec9e9296b154371c383776)
@@ -30,5 +30,6 @@
 #define MODULES_H
 
-/* Each built in function has two files, one being an entry.h file which
+/*
+ * Each built in function has two files, one being an entry.h file which
  * prototypes the run/help entry functions, the other being a .def file
  * which fills the modules[] array according to the cmd_t structure
@@ -40,5 +41,6 @@
  *
  * NOTE: See module_ aliases.h as well, this is where aliases (commands that
- * share an entry point with others) are indexed */
+ * share an entry point with others) are indexed
+ */
 
 #include "config.h"
@@ -64,7 +66,9 @@
 #include "cmp/entry.h"
 
-/* Each .def function fills the module_t struct with the individual name, entry
+/*
+ * Each .def function fills the module_t struct with the individual name, entry
  * point, help entry point, etc. You can use config.h to control what modules
- * are loaded based on what libraries exist on the system. */
+ * are loaded based on what libraries exist on the system.
+ */
 
 module_t modules[] = {
Index: uspace/app/bdsh/cmds/modules/rm/rm.c
===================================================================
--- uspace/app/bdsh/cmds/modules/rm/rm.c	(revision 47e00b8364871fedb5a2508cfc367b91b0cb8e63)
+++ uspace/app/bdsh/cmds/modules/rm/rm.c	(revision 904b1bc3e43b98f81bec9e9296b154371c383776)
@@ -95,6 +95,8 @@
 	rm->safe = 0;
 
-	/* Make sure we can allocate enough memory to store
-	 * what is needed in the job structure */
+	/*
+	 * Make sure we can allocate enough memory to store
+	 * what is needed in the job structure
+	 */
 	if (NULL == (rm->nwd = (char *) malloc(PATH_MAX)))
 		return 0;
Index: uspace/app/bdsh/compl.c
===================================================================
--- uspace/app/bdsh/compl.c	(revision 47e00b8364871fedb5a2508cfc367b91b0cb8e63)
+++ uspace/app/bdsh/compl.c	(revision 904b1bc3e43b98f81bec9e9296b154371c383776)
@@ -219,6 +219,8 @@
 		cs->path_list[0] = dirname;
 		cs->path_list[1] = NULL;
-		/* The second const ensures that we can't assign a const
-		 * string to the non-const array. */
+		/*
+		 * The second const ensures that we can't assign a const
+		 * string to the non-const array.
+		 */
 		cs->path = (const char *const *) cs->path_list;
 
Index: uspace/app/bdsh/config.h
===================================================================
--- uspace/app/bdsh/config.h	(revision 47e00b8364871fedb5a2508cfc367b91b0cb8e63)
+++ uspace/app/bdsh/config.h	(revision 904b1bc3e43b98f81bec9e9296b154371c383776)
@@ -27,6 +27,8 @@
  */
 
-/* Various things that are used in many places including a few
- * tidbits left over from autoconf prior to the HelenOS port */
+/*
+ * Various things that are used in many places including a few
+ * tidbits left over from autoconf prior to the HelenOS port
+ */
 
 /* Specific port work-arounds : */
@@ -44,6 +46,8 @@
 #define LARGE_BUFLEN 1024
 
-/* How many words (arguments) are permitted, how big can a whole
- * sentence be? Similar to ARG_MAX */
+/*
+ * How many words (arguments) are permitted, how big can a whole
+ * sentence be? Similar to ARG_MAX
+ */
 #define WORD_MAX 1023
 #define INPUT_MAX 4096
Index: uspace/app/bdsh/errors.c
===================================================================
--- uspace/app/bdsh/errors.c	(revision 47e00b8364871fedb5a2508cfc367b91b0cb8e63)
+++ uspace/app/bdsh/errors.c	(revision 904b1bc3e43b98f81bec9e9296b154371c383776)
@@ -44,6 +44,8 @@
 
 
-/* Look up errno in cl_errors and return the corresponding string.
- * Return NULL if not found */
+/** Look up errno in cl_errors and return the corresponding string.
+ *
+ * Return NULL if not found
+ */
 static const char *err2str(int err)
 {
@@ -55,8 +57,10 @@
 }
 
-/* Print an error report signifying errno, which is translated to
- * its corresponding human readable string. If errno > 0, raise the
- * cli_quit int that tells the main program loop to exit immediately */
-
+/** Print an error report signifying errno
+ *
+ * errno is translated to its corresponding human readable string.
+ * If errno > 0, raise the cli_quit int that tells the main program loop
+ * to exit immediately
+ */
 void cli_error(int err, const char *fmt, ...)
 {
@@ -71,7 +75,9 @@
 		printf(" (Unknown Error %d)\n", err);
 
-	/* If fatal, raise cli_quit so that we try to exit
+	/*
+	 * If fatal, raise cli_quit so that we try to exit
 	 * gracefully. This will break the main loop and
-	 * invoke the destructor */
+	 * invoke the destructor
+	 */
 	if (err == CL_EFATAL)
 		cli_quit = 1;
Index: uspace/app/bdsh/exec.c
===================================================================
--- uspace/app/bdsh/exec.c	(revision 47e00b8364871fedb5a2508cfc367b91b0cb8e63)
+++ uspace/app/bdsh/exec.c	(revision 904b1bc3e43b98f81bec9e9296b154371c383776)
@@ -27,9 +27,11 @@
  */
 
-/* The VERY basics of execute in place support. These are buggy, leaky
+/*
+ * The VERY basics of execute in place support. These are buggy, leaky
  * and not nearly done. Only here for beta testing!! You were warned!!
  * TODO:
  * Hash command lookups to save time
- * Create a running pointer to **path and advance/rewind it as we go */
+ * Create a running pointer to **path and advance/rewind it as we go
+ */
 
 #include <stdio.h>
@@ -66,6 +68,8 @@
 }
 
-/* Returns the full path of "cmd" if cmd is found, else just hand back
- * cmd as it was presented */
+/** Returns the full path of "cmd" if cmd is found
+ *
+ * else just hand back cmd as it was presented
+ */
 static char *find_command(char *cmd)
 {
Index: uspace/app/bdsh/input.c
===================================================================
--- uspace/app/bdsh/input.c	(revision 47e00b8364871fedb5a2508cfc367b91b0cb8e63)
+++ uspace/app/bdsh/input.c	(revision 904b1bc3e43b98f81bec9e9296b154371c383776)
@@ -62,7 +62,9 @@
 static void print_pipe_usage(void);
 
-/* Tokenizes input from console, sees if the first word is a built-in, if so
+/*
+ * Tokenizes input from console, sees if the first word is a built-in, if so
  * invokes the built-in entry point (a[0]) passing all arguments in a[] to
- * the handler */
+ * the handler
+ */
 errno_t process_input(cliuser_t *usr)
 {
@@ -105,5 +107,6 @@
 	}
 
-	/* Until full support for pipes is implemented, allow for a simple case:
+	/*
+	 * Until full support for pipes is implemented, allow for a simple case:
 	 * [from <file> |] command [| to <file>]
 	 *
Index: uspace/app/bdsh/scli.c
===================================================================
--- uspace/app/bdsh/scli.c	(revision 47e00b8364871fedb5a2508cfc367b91b0cb8e63)
+++ uspace/app/bdsh/scli.c	(revision 904b1bc3e43b98f81bec9e9296b154371c383776)
@@ -43,11 +43,15 @@
 static iostate_t stdiostate;
 
-/* Globals that are modified during start-up that modules/builtins
- * should be aware of. */
+/*
+ * Globals that are modified during start-up that modules/builtins
+ * should be aware of.
+ */
 volatile unsigned int cli_quit = 0;
 volatile unsigned int cli_verbocity = 1;
 
-/* The official name of this program
- * (change to your liking in configure.ac and re-run autoconf) */
+/*
+ * The official name of this program
+ * (change to your liking in configure.ac and re-run autoconf)
+ */
 const char *progname = PACKAGE_NAME;
 
Index: uspace/app/bdsh/tok.c
===================================================================
--- uspace/app/bdsh/tok.c	(revision 47e00b8364871fedb5a2508cfc367b91b0cb8e63)
+++ uspace/app/bdsh/tok.c	(revision 904b1bc3e43b98f81bec9e9296b154371c383776)
@@ -97,5 +97,6 @@
 	while ((next_char = tok_look_char(tok)) != 0) {
 		if (next_char == ' ') {
-			/* Push the token if there is any.
+			/*
+			 * Push the token if there is any.
 			 * There may not be any pending char for a token in case
 			 * there are several spaces in the input.
@@ -115,5 +116,6 @@
 
 		} else if (next_char == '|') {
-			/* Pipes are tokens that are delimiters and should be
+			/*
+			 * Pipes are tokens that are delimiters and should be
 			 * output as a separate token
 			 */
@@ -137,5 +139,6 @@
 			}
 		} else if (next_char == '\'') {
-			/* A string starts with a quote (') and ends again with a quote.
+			/*
+			 * A string starts with a quote (') and ends again with a quote.
 			 * A literal quote is written as ''
 			 */
@@ -151,5 +154,6 @@
 				tok_start_token(tok, TOKTYPE_TEXT);
 			}
-			/* If we are handling any other character, just append it to
+			/*
+			 * If we are handling any other character, just append it to
 			 * the current token.
 			 */
Index: uspace/app/bdsh/util.c
===================================================================
--- uspace/app/bdsh/util.c	(revision 47e00b8364871fedb5a2508cfc367b91b0cb8e63)
+++ uspace/app/bdsh/util.c	(revision 904b1bc3e43b98f81bec9e9296b154371c383776)
@@ -52,7 +52,9 @@
 }
 
-/* (re)allocates memory to store the current working directory, gets
+/*
+ * (re)allocates memory to store the current working directory, gets
  * and updates the current working directory, formats the prompt
- * string */
+ * string
+ */
 unsigned int cli_set_prompt(cliuser_t *usr)
 {
