Index: uspace/lib/posix/stdio.c
===================================================================
--- uspace/lib/posix/stdio.c	(revision 12fb84980699808e2aeec4cea7dc7753841460b7)
+++ uspace/lib/posix/stdio.c	(revision 46ac9860c43b82ea5dcc32a3d5e6d42b6def64b1)
@@ -100,20 +100,20 @@
 
 	bool can_unget =
-		/* Provided character is legal. */
+	    /* Provided character is legal. */
 	    c != EOF &&
-		/* Stream is consistent. */
+	    /* Stream is consistent. */
 	    !stream->error &&
-		/* Stream is buffered. */
+	    /* Stream is buffered. */
 	    stream->btype != _IONBF &&
-		/* Last operation on the stream was a read operation. */
+	    /* Last operation on the stream was a read operation. */
 	    stream->buf_state == _bs_read &&
-		/* Stream buffer is already allocated (i.e. there was already carried
-		 * out either write or read operation on the stream). This is probably
-		 * redundant check but let's be safe. */
+	    /* Stream buffer is already allocated (i.e. there was already carried
+	     * out either write or read operation on the stream). This is probably
+	     * redundant check but let's be safe. */
 	    stream->buf != NULL &&
-		/* There is still space in the stream to retreat. POSIX demands the
-		 * possibility to unget at least 1 character. It should be always
-		 * possible, assuming the last operation on the stream read at least 1
-		 * character, because the buffer is refilled in the lazily manner. */
+	    /* There is still space in the stream to retreat. POSIX demands the
+	     * possibility to unget at least 1 character. It should be always
+	     * possible, assuming the last operation on the stream read at least 1
+	     * character, because the buffer is refilled in the lazily manner. */
 	    stream->buf_tail > stream->buf;
 
@@ -230,8 +230,6 @@
  *     stream with a changed mode. NULL otherwise.
  */
-FILE *posix_freopen(
-    const char *restrict filename,
-    const char *restrict mode,
-    FILE *restrict stream)
+FILE *posix_freopen(const char *restrict filename, 
+    const char *restrict mode, FILE *restrict stream)
 {
 	assert(mode != NULL);
Index: uspace/lib/posix/stdio.h
===================================================================
--- uspace/lib/posix/stdio.h	(revision 12fb84980699808e2aeec4cea7dc7753841460b7)
+++ uspace/lib/posix/stdio.h	(revision 46ac9860c43b82ea5dcc32a3d5e6d42b6def64b1)
@@ -42,9 +42,11 @@
 #include "limits.h"
 
+/* Identifying the Terminal */
 #undef L_ctermid
 #define L_ctermid PATH_MAX
+extern char *posix_ctermid(char *s);
 
+/* Error Recovery */
 extern void posix_clearerr(FILE *stream);
-extern char *posix_ctermid(char *s);
 
 /* Input/Output */
@@ -54,5 +56,4 @@
 #define getc fgetc
 extern int posix_ungetc(int c, FILE *stream);
-
 extern ssize_t posix_getdelim(char **restrict lineptr, size_t *restrict n,
     int delimiter, FILE *restrict stream);
@@ -61,11 +62,6 @@
 
 /* Opening Streams */
-extern FILE *posix_freopen(
-   const char *restrict filename,
-   const char *restrict mode,
-   FILE *restrict stream);
-
-/* Memory Streams */
-
+extern FILE *posix_freopen(const char *restrict filename,
+    const char *restrict mode, FILE *restrict stream);
 extern FILE *posix_fmemopen(void *restrict buf, size_t size,
     const char *restrict mode);
@@ -76,5 +72,4 @@
 
 /* File Positioning */
-
 typedef struct _posix_fpos posix_fpos_t;
 extern int posix_fsetpos(FILE *stream, const posix_fpos_t *pos);
@@ -85,5 +80,5 @@
 extern posix_off_t posix_ftello(FILE *stream);
 
-/* Formatted Input/Output */
+/* Formatted Output */
 extern int posix_dprintf(int fildes, const char *restrict format, ...)
     PRINTF_ATTRIBUTE(2, 3);
@@ -93,4 +88,5 @@
 extern int posix_vsprintf(char *restrict s, const char *restrict format, va_list ap);
 
+/* Formatted Input */
 extern int posix_fscanf(
     FILE *restrict stream, const char *restrict format, ...);
@@ -105,9 +101,7 @@
 
 /* File Locking */
-
 extern void posix_flockfile(FILE *file);
 extern int posix_ftrylockfile(FILE *file);
 extern void posix_funlockfile(FILE *file);
-
 extern int posix_getc_unlocked(FILE *stream);
 extern int posix_getchar_unlocked(void);
@@ -121,18 +115,16 @@
 #undef L_tmpnam
 #define L_tmpnam PATH_MAX
-
 extern char *posix_tmpnam(char *s);
 
 #ifndef LIBPOSIX_INTERNAL
-	#define clearerr posix_clearerr
 	#define ctermid posix_ctermid
 
+	#define clearerr posix_clearerr
+
 	#define ungetc posix_ungetc
-
 	#define getdelim posix_getdelim
 	#define getline posix_getline
 
 	#define freopen posix_freopen
-
 	#define fmemopen posix_fmemopen
 	#define open_memstream posix_open_memstream
