Index: uspace/lib/posix/src/internal/common.h
===================================================================
--- uspace/lib/posix/src/internal/common.h	(revision 8f3230ec92ab67da1d0e4a321fb627cdd307b255)
+++ uspace/lib/posix/src/internal/common.h	(revision 64532a970f3247a33dafe22f848eaf9f61ea730f)
@@ -56,5 +56,6 @@
  * If so, writes the error code to errno and returns true.
  */
-static inline bool failed(int rc) {
+static inline bool failed(int rc)
+{
 	if (rc != EOK) {
 		errno = rc;
Index: uspace/lib/posix/src/pthread/keys.c
===================================================================
--- uspace/lib/posix/src/pthread/keys.c	(revision 8f3230ec92ab67da1d0e4a321fb627cdd307b255)
+++ uspace/lib/posix/src/pthread/keys.c	(revision 64532a970f3247a33dafe22f848eaf9f61ea730f)
@@ -57,5 +57,5 @@
 }
 
-int pthread_key_create(pthread_key_t *key, void (*destructor)(void*))
+int pthread_key_create(pthread_key_t *key, void (*destructor)(void *))
 {
 	not_implemented();
Index: uspace/lib/posix/src/pwd.c
===================================================================
--- uspace/lib/posix/src/pwd.c	(revision 8f3230ec92ab67da1d0e4a321fb627cdd307b255)
+++ uspace/lib/posix/src/pwd.c	(revision 64532a970f3247a33dafe22f848eaf9f61ea730f)
@@ -163,5 +163,5 @@
 
 	static const char bf[] = { 'u', 's', 'e', 'r', '\0',
-	    '/', '\0', 'b', 'd', 's', 'h', '\0' };
+		'/', '\0', 'b', 'd', 's', 'h', '\0' };
 
 	if (uid != 0) {
Index: uspace/lib/posix/src/stdio.c
===================================================================
--- uspace/lib/posix/src/stdio.c	(revision 8f3230ec92ab67da1d0e4a321fb627cdd307b255)
+++ uspace/lib/posix/src/stdio.c	(revision 64532a970f3247a33dafe22f848eaf9f61ea730f)
@@ -63,5 +63,5 @@
 	// TODO: return a real terminal path
 
-	static char dummy_path[L_ctermid] = {'\0'};
+	static char dummy_path[L_ctermid] = { '\0' };
 
 	if (s == NULL) {
Index: uspace/lib/posix/src/stdio/scanf.c
===================================================================
--- uspace/lib/posix/src/stdio/scanf.c	(revision 8f3230ec92ab67da1d0e4a321fb627cdd307b255)
+++ uspace/lib/posix/src/stdio/scanf.c	(revision 64532a970f3247a33dafe22f848eaf9f61ea730f)
@@ -95,5 +95,5 @@
 	int (*undo)(struct __input_provider *);
 	/** Lend the cursor to the caller.  */
-	const char * (*borrow_cursor)(struct __input_provider *);
+	const char *(*borrow_cursor)(struct __input_provider *);
 	/** Take control over possibly incremented cursor and update the internal
 	  * structures if necessary. */
@@ -1001,7 +1001,7 @@
 				}
 
-				char * buf = NULL;
+				char *buf = NULL;
 				size_t buf_size = 0;
-				char * cur = NULL;
+				char *cur = NULL;
 				size_t alloc_step = 80; /* Buffer size gain during reallocation. */
 				int my_buffer_idx = 0;
@@ -1216,7 +1216,7 @@
 {
 	_input_provider provider = {
-	    { 0 }, 0, 0, NULL, 0, NULL, _PROV_CONSTRUCTED,
-	    _capture_stream, _pop_stream, _undo_stream,
-	    _borrow_cursor_universal, _return_cursor_stream, _release_stream
+		{ 0 }, 0, 0, NULL, 0, NULL, _PROV_CONSTRUCTED,
+		_capture_stream, _pop_stream, _undo_stream,
+		_borrow_cursor_universal, _return_cursor_stream, _release_stream
 	};
 	provider.source.stream = stream;
@@ -1236,7 +1236,7 @@
 {
 	_input_provider provider = {
-	    { 0 }, 0, 0, NULL, 0, NULL, _PROV_CONSTRUCTED,
-	    _capture_string, _pop_string, _undo_string,
-	    _borrow_cursor_universal, _return_cursor_string, _release_string
+		{ 0 }, 0, 0, NULL, 0, NULL, _PROV_CONSTRUCTED,
+		_capture_string, _pop_string, _undo_string,
+		_borrow_cursor_universal, _return_cursor_string, _release_string
 	};
 	provider.source.string = s;
Index: uspace/lib/posix/src/stdlib.c
===================================================================
--- uspace/lib/posix/src/stdlib.c	(revision 8f3230ec92ab67da1d0e4a321fb627cdd307b255)
+++ uspace/lib/posix/src/stdlib.c	(revision 64532a970f3247a33dafe22f848eaf9f61ea730f)
@@ -204,5 +204,6 @@
  *     or not (zero).
  */
-int system(const char *string) {
+int system(const char *string)
+{
 	// TODO: does nothing at the moment
 	not_implemented();
@@ -222,7 +223,7 @@
 char *realpath(const char *restrict name, char *restrict resolved)
 {
-	#ifndef PATH_MAX
-		assert(resolved == NULL);
-	#endif
+#ifndef PATH_MAX
+	assert(resolved == NULL);
+#endif
 
 	if (name == NULL) {
@@ -238,5 +239,5 @@
 	 * to be updated when that support is implemented.
 	 */
-	char* absolute = vfs_absolutize(name, NULL);
+	char *absolute = vfs_absolutize(name, NULL);
 
 	if (absolute == NULL) {
@@ -252,7 +253,7 @@
 		return absolute;
 	} else {
-		#ifdef PATH_MAX
-			str_cpy(resolved, PATH_MAX, absolute);
-		#endif
+#ifdef PATH_MAX
+		str_cpy(resolved, PATH_MAX, absolute);
+#endif
 		free(absolute);
 		return resolved;
Index: uspace/lib/posix/src/stdlib/strtold.c
===================================================================
--- uspace/lib/posix/src/stdlib/strtold.c	(revision 8f3230ec92ab67da1d0e4a321fb627cdd307b255)
+++ uspace/lib/posix/src/stdlib/strtold.c	(revision 64532a970f3247a33dafe22f848eaf9f61ea730f)
@@ -51,26 +51,26 @@
 
 #ifndef HUGE_VALL
-	#define HUGE_VALL (+1.0l / +0.0l)
+#define HUGE_VALL (+1.0l / +0.0l)
 #endif
 
 #ifndef abs
-	#define abs(x) (((x) < 0) ? -(x) : (x))
+#define abs(x) (((x) < 0) ? -(x) : (x))
 #endif
 
 /* If the constants are not defined, use double precision as default. */
 #ifndef LDBL_MANT_DIG
-	#define LDBL_MANT_DIG 53
+#define LDBL_MANT_DIG 53
 #endif
 #ifndef LDBL_MAX_EXP
-	#define LDBL_MAX_EXP 1024
+#define LDBL_MAX_EXP 1024
 #endif
 #ifndef LDBL_MIN_EXP
-	#define LDBL_MIN_EXP (-1021)
+#define LDBL_MIN_EXP (-1021)
 #endif
 #ifndef LDBL_DIG
-	#define LDBL_DIG 15
+#define LDBL_DIG 15
 #endif
 #ifndef LDBL_MIN
-	#define LDBL_MIN 2.2250738585072014E-308
+#define LDBL_MIN 2.2250738585072014E-308
 #endif
 
Index: uspace/lib/posix/src/string.c
===================================================================
--- uspace/lib/posix/src/string.c	(revision 8f3230ec92ab67da1d0e4a321fb627cdd307b255)
+++ uspace/lib/posix/src/string.c	(revision 64532a970f3247a33dafe22f848eaf9f61ea730f)
@@ -198,6 +198,6 @@
 	assert(src != NULL);
 
-	unsigned char* bdest = dest;
-	const unsigned char* bsrc = src;
+	unsigned char *bdest = dest;
+	const unsigned char *bsrc = src;
 
 	for (size_t i = 0; i < n; ++i) {
@@ -458,5 +458,6 @@
 			j = prefix_table[j];
 		}
-		i++; j++;
+		i++;
+		j++;
 		prefix_table[i] = j;
 	}
@@ -518,9 +519,11 @@
 
 	/* Skip over leading delimiters. */
-	while (*s && (strchr(delim, *s) != NULL)) ++s;
+	while (*s && (strchr(delim, *s) != NULL))
+		++s;
 	start = s;
 
 	/* Skip over token characters. */
-	while (*s && (strchr(delim, *s) == NULL)) ++s;
+	while (*s && (strchr(delim, *s) == NULL))
+		++s;
 	end = s;
 	*next = (*s ? s + 1 : s);
Index: uspace/lib/posix/src/sys/wait.c
===================================================================
--- uspace/lib/posix/src/sys/wait.c	(revision 8f3230ec92ab67da1d0e4a321fb627cdd307b255)
+++ uspace/lib/posix/src/sys/wait.c	(revision 64532a970f3247a33dafe22f848eaf9f61ea730f)
@@ -45,18 +45,22 @@
 #include "posix/signal.h"
 
-int __posix_wifexited(int status) {
+int __posix_wifexited(int status)
+{
 	return status != INT_MIN;
 }
 
-int __posix_wexitstatus(int status) {
+int __posix_wexitstatus(int status)
+{
 	assert(__posix_wifexited(status));
 	return status;
 }
 
-int __posix_wifsignaled(int status) {
+int __posix_wifsignaled(int status)
+{
 	return status == INT_MIN;
 }
 
-int __posix_wtermsig(int status) {
+int __posix_wtermsig(int status)
+{
 	assert(__posix_wifsignaled(status));
 	/* There is no way to distinguish reason
