Index: uspace/dist/src/c/demos/edit/search.c
===================================================================
--- uspace/dist/src/c/demos/edit/search.c	(revision 84239b1cd7c5ed286263ce4edb649da00b34b249)
+++ uspace/dist/src/c/demos/edit/search.c	(revision 1890f2a209c91b552cbec0464d6814f4388d9689)
@@ -91,9 +91,7 @@
 			search->back_table[table_idx] = pattern_idx;
 			table_idx++;
-		}
-		else if (pattern_idx > 0) {
+		} else if (pattern_idx > 0) {
 			pattern_idx = search->back_table[pattern_idx];
-		}
-		else {
+		} else {
 			pattern_idx = 0;
 			table_idx++;
Index: uspace/dist/src/c/demos/hello/hello.c
===================================================================
--- uspace/dist/src/c/demos/hello/hello.c	(revision 84239b1cd7c5ed286263ce4edb649da00b34b249)
+++ uspace/dist/src/c/demos/hello/hello.c	(revision 1890f2a209c91b552cbec0464d6814f4388d9689)
@@ -3,5 +3,6 @@
 #define TERMINATOR '!'
 
-int main(void) {
+int main(void)
+{
 	/* Prints "hello" to the standard output. */
 	putchar('h');
Index: uspace/dist/src/c/demos/tetris/scores.c
===================================================================
--- uspace/dist/src/c/demos/tetris/scores.c	(revision 84239b1cd7c5ed286263ce4edb649da00b34b249)
+++ uspace/dist/src/c/demos/tetris/scores.c	(revision 1890f2a209c91b552cbec0464d6814f4388d9689)
@@ -135,6 +135,6 @@
 	off = 6;
 
-	moveto(10 , 28);
-	printf("%s%.*s", scores[NUMSPOTS - 1].hs_name, MAXLOGNAME-i,
+	moveto(10, 28);
+	printf("%s%.*s", scores[NUMSPOTS - 1].hs_name, MAXLOGNAME - i,
 	    "........................................");
 
@@ -191,5 +191,5 @@
 
 	for (j = NUMSPOTS - 2; j > i; j--)
-		copyhiscore(j, j-1);
+		copyhiscore(j, j - 1);
 
 	copyhiscore(i, NUMSPOTS - 1);
Index: uspace/dist/src/c/demos/tetris/screen.c
===================================================================
--- uspace/dist/src/c/demos/tetris/screen.c	(revision 84239b1cd7c5ed286263ce4edb649da00b34b249)
+++ uspace/dist/src/c/demos/tetris/screen.c	(revision 1890f2a209c91b552cbec0464d6814f4388d9689)
@@ -256,5 +256,5 @@
 			tc = t % B_COLS;
 
-			moveto(tr, 2*tc);
+			moveto(tr, 2 * tc);
 			putstr("  ");
 		}
Index: uspace/dist/src/c/demos/tetris/shapes.c
===================================================================
--- uspace/dist/src/c/demos/tetris/shapes.c	(revision 84239b1cd7c5ed286263ce4edb649da00b34b249)
+++ uspace/dist/src/c/demos/tetris/shapes.c	(revision 1890f2a209c91b552cbec0464d6814f4388d9689)
@@ -68,23 +68,23 @@
 
 const struct shape shapes[] = {
-	/*  0 */  {  7,  7, { TL, TC, MR }, 0x00aaaa},
-	/*  1 */  {  8,  8, { TC, TR, ML }, 0x00aa00},
-	/*  2 */  {  9, 11, { ML, MR, BC }, 0xaa5500},
-	/*  3 */  {  3,  3, { TL, TC, ML }, 0x0000aa},
-	/*  4 */  { 12, 14, { ML, BL, MR }, 0xaa00aa},
-	/*  5 */  { 15, 17, { ML, BR, MR }, 0xffa500},
-	/*  6 */  { 18, 18, { ML, MR, 2  }, 0xaa0000},  /* sticks out */
-	/*  7 */  {  0,  0, { TC, ML, BL }, 0x00aaaa},
-	/*  8 */  {  1,  1, { TC, MR, BR }, 0x00aa00},
-	/*  9 */  { 10,  2, { TC, MR, BC }, 0xaa5500},
-	/* 10 */  { 11,  9, { TC, ML, MR }, 0xaa5500},
-	/* 11 */  {  2, 10, { TC, ML, BC }, 0xaa5500},
-	/* 12 */  { 13,  4, { TC, BC, BR }, 0xaa00aa},
-	/* 13 */  { 14, 12, { TR, ML, MR }, 0xaa00aa},
-	/* 14 */  {  4, 13, { TL, TC, BC }, 0xaa00aa},
-	/* 15 */  { 16,  5, { TR, TC, BC }, 0xffa500},
-	/* 16 */  { 17, 15, { TL, MR, ML }, 0xffa500},
-	/* 17 */  {  5, 16, { TC, BC, BL }, 0xffa500},
-	/* 18 */  {  6,  6, { TC, BC, 2 * B_COLS }, 0xaa0000}  /* sticks out */
+	/*  0 */  {  7,  7, { TL, TC, MR }, 0x00aaaa },
+	/*  1 */  {  8,  8, { TC, TR, ML }, 0x00aa00 },
+	/*  2 */  {  9, 11, { ML, MR, BC }, 0xaa5500 },
+	/*  3 */  {  3,  3, { TL, TC, ML }, 0x0000aa },
+	/*  4 */  { 12, 14, { ML, BL, MR }, 0xaa00aa },
+	/*  5 */  { 15, 17, { ML, BR, MR }, 0xffa500 },
+	/*  6 */  { 18, 18, { ML, MR, 2  }, 0xaa0000 },  /* sticks out */
+	/*  7 */  {  0,  0, { TC, ML, BL }, 0x00aaaa },
+	/*  8 */  {  1,  1, { TC, MR, BR }, 0x00aa00 },
+	/*  9 */  { 10,  2, { TC, MR, BC }, 0xaa5500 },
+	/* 10 */  { 11,  9, { TC, ML, MR }, 0xaa5500 },
+	/* 11 */  {  2, 10, { TC, ML, BC }, 0xaa5500 },
+	/* 12 */  { 13,  4, { TC, BC, BR }, 0xaa00aa },
+	/* 13 */  { 14, 12, { TR, ML, MR }, 0xaa00aa },
+	/* 14 */  {  4, 13, { TL, TC, BC }, 0xaa00aa },
+	/* 15 */  { 16,  5, { TR, TC, BC }, 0xffa500 },
+	/* 16 */  { 17, 15, { TL, MR, ML }, 0xffa500 },
+	/* 17 */  {  5, 16, { TC, BC, BL }, 0xffa500 },
+	/* 18 */  {  6,  6, { TC, BC, 2 * B_COLS }, 0xaa0000 }  /* sticks out */
 };
 
Index: uspace/dist/src/c/demos/tetris/tetris.c
===================================================================
--- uspace/dist/src/c/demos/tetris/tetris.c	(revision 84239b1cd7c5ed286263ce4edb649da00b34b249)
+++ uspace/dist/src/c/demos/tetris/tetris.c	(revision 1890f2a209c91b552cbec0464d6814f4388d9689)
@@ -52,6 +52,6 @@
 
 static volatile const char copyright[] =
-	"@(#) Copyright (c) 1992, 1993\n"
-	"\tThe Regents of the University of California.  All rights reserved.\n";
+    "@(#) Copyright (c) 1992, 1993\n"
+    "\tThe Regents of the University of California.  All rights reserved.\n";
 
 #include <sys/time.h>
@@ -122,5 +122,5 @@
 				/* This row is to be elided */
 				rows++;
-				memset(&board[base], 0, sizeof(cell) * (B_COLS - 2));
+				memset(&board[base], 0, sizeof(cell) *(B_COLS - 2));
 
 				scr_update();
@@ -185,5 +185,5 @@
 	printf("Level = %d (press keys 1 - 9 to change)", level);
 	moveto(9, 10);
-	printf("Preview is %s (press 'p' to change)", (showpreview ? "on ": "off"));
+	printf("Preview is %s (press 'p' to change)", (showpreview ? "on " : "off"));
 	moveto(12, 10);
 	printf("Press 'h' to show hiscore table.");
@@ -204,36 +204,36 @@
 		int i = getchar();
 
-		switch(i) {
-			case 'p':
-				showpreview = !showpreview;
-				moveto(9, 21);
-				if (showpreview)
-					printf("on ");
-				else
-					printf("off");
-				break;
-			case 'h':
-				loadscores();
-				showscores(firstgame);
-				tetris_menu_draw(*level);
-				break;
-			case 's':
-				firstgame = 0;
-				return 1;
-			case 'q':
-				return 0;
-			case '1':
-			case '2':
-			case '3':
-			case '4':
-			case '5':
-			case '6':
-			case '7':
-			case '8':
-			case '9':
-				*level = i - '0';
-				moveto(8, 18);
-				printf("%d", *level);
-				break;
+		switch (i) {
+		case 'p':
+			showpreview = !showpreview;
+			moveto(9, 21);
+			if (showpreview)
+				printf("on ");
+			else
+				printf("off");
+			break;
+		case 'h':
+			loadscores();
+			showscores(firstgame);
+			tetris_menu_draw(*level);
+			break;
+		case 's':
+			firstgame = 0;
+			return 1;
+		case 'q':
+			return 0;
+		case '1':
+		case '2':
+		case '3':
+		case '4':
+		case '5':
+		case '6':
+		case '7':
+		case '8':
+		case '9':
+			*level = i - '0';
+			moveto(8, 18);
+			printf("%d", *level);
+			break;
 		}
 	}
@@ -259,5 +259,5 @@
 
 	while ((ch = getopt(argc, argv, "ck:ps")) != -1)
-		switch(ch) {
+		switch (ch) {
 		case 'c':
 			/*
Index: uspace/dist/src/c/demos/top/top.h
===================================================================
--- uspace/dist/src/c/demos/top/top.h	(revision 84239b1cd7c5ed286263ce4edb649da00b34b249)
+++ uspace/dist/src/c/demos/top/top.h	(revision 1890f2a209c91b552cbec0464d6814f4388d9689)
@@ -81,6 +81,10 @@
 
 typedef enum {
-	FIELD_EMPTY, FIELD_UINT, FIELD_UINT_SUFFIX_BIN, FIELD_UINT_SUFFIX_DEC,
-	FIELD_PERCENT, FIELD_STRING
+	FIELD_EMPTY,
+	FIELD_UINT,
+	FIELD_UINT_SUFFIX_BIN,
+	FIELD_UINT_SUFFIX_DEC,
+	FIELD_PERCENT,
+	FIELD_STRING
 } field_type_t;
 
