Index: abi/include/abi/proc/uarg.h
===================================================================
--- abi/include/abi/proc/uarg.h	(revision 91deaff052ddd8a9a08e5684bb9d995509e5fc26)
+++ abi/include/abi/proc/uarg.h	(revision 193d280c34f38846eccfa1ecce71975f9ad92398)
@@ -42,5 +42,5 @@
 	size_t uspace_stack_size;
 	
-	void (* uspace_thread_function)();
+	void (* uspace_thread_function)(void *);
 	void *uspace_thread_arg;
 	
Index: boot/arch/arm32/src/mm.c
===================================================================
--- boot/arch/arm32/src/mm.c	(revision 91deaff052ddd8a9a08e5684bb9d995509e5fc26)
+++ boot/arch/arm32/src/mm.c	(revision 193d280c34f38846eccfa1ecce71975f9ad92398)
@@ -193,7 +193,8 @@
 }
 
-static void enable_paging()
-{
-	/* c3   - each two bits controls access to the one of domains (16)
+static void enable_paging(void)
+{
+	/*
+	 * c3   - each two bits controls access to the one of domains (16)
 	 * 0b01 - behave as a client (user) of a domain
 	 */
@@ -232,5 +233,6 @@
 
 /** Start the MMU - initialize page table and enable paging. */
-void mmu_start() {
+void mmu_start(void)
+{
 	disable_paging();
 #ifdef PROCESSOR_ARCH_armv7_a
Index: boot/arch/ppc32/include/asm.h
===================================================================
--- boot/arch/ppc32/include/asm.h	(revision 91deaff052ddd8a9a08e5684bb9d995509e5fc26)
+++ boot/arch/ppc32/include/asm.h	(revision 193d280c34f38846eccfa1ecce71975f9ad92398)
@@ -35,5 +35,5 @@
 extern void jump_to_kernel(void *, void *, size_t, void *)
     __attribute__((noreturn));
-extern void real_mode();
+extern void real_mode(void);
 
 #endif
Index: boot/arch/sparc32/src/ambapp.c
===================================================================
--- boot/arch/sparc32/src/ambapp.c	(revision 91deaff052ddd8a9a08e5684bb9d995509e5fc26)
+++ boot/arch/sparc32/src/ambapp.c	(revision 193d280c34f38846eccfa1ecce71975f9ad92398)
@@ -58,5 +58,5 @@
 static void ambapp_scan_area(uintptr_t, unsigned int);
 
-void ambapp_scan()
+void ambapp_scan(void)
 {
 	amba_fake = false;
@@ -104,5 +104,5 @@
 }
 
-void ambapp_qemu_fake_scan()
+void ambapp_qemu_fake_scan(void)
 {
 	/* UART */
@@ -134,10 +134,10 @@
 }
 
-bool ambapp_fake()
+bool ambapp_fake(void)
 {
 	return amba_fake;
 }
 
-void ambapp_print_devices()
+void ambapp_print_devices(void)
 {
 	printf("ABMA devices:\n");
Index: boot/arch/sparc32/src/mm.c
===================================================================
--- boot/arch/sparc32/src/mm.c	(revision 91deaff052ddd8a9a08e5684bb9d995509e5fc26)
+++ boot/arch/sparc32/src/mm.c	(revision 193d280c34f38846eccfa1ecce71975f9ad92398)
@@ -76,5 +76,5 @@
 }
 
-static void mmu_disable()
+static void mmu_disable(void)
 {
 	uint32_t cr = asi_u32_read(ASI_MMUREGS, 0x000);
Index: kernel/arch/abs32le/src/abs32le.c
===================================================================
--- kernel/arch/abs32le/src/abs32le.c	(revision 91deaff052ddd8a9a08e5684bb9d995509e5fc26)
+++ kernel/arch/abs32le/src/abs32le.c	(revision 193d280c34f38846eccfa1ecce71975f9ad92398)
@@ -69,5 +69,5 @@
 }
 
-void arch_post_cpu_init()
+void arch_post_cpu_init(void)
 {
 }
Index: kernel/arch/amd64/include/arch/asm.h
===================================================================
--- kernel/arch/amd64/include/arch/asm.h	(revision 91deaff052ddd8a9a08e5684bb9d995509e5fc26)
+++ kernel/arch/amd64/include/arch/asm.h	(revision 193d280c34f38846eccfa1ecce71975f9ad92398)
@@ -339,5 +339,5 @@
  *
  */
-NO_TRACE static inline void enable_l_apic_in_msr()
+NO_TRACE static inline void enable_l_apic_in_msr(void)
 {
 	asm volatile (
Index: kernel/arch/amd64/src/fpu_context.c
===================================================================
--- kernel/arch/amd64/src/fpu_context.c	(revision 91deaff052ddd8a9a08e5684bb9d995509e5fc26)
+++ kernel/arch/amd64/src/fpu_context.c	(revision 193d280c34f38846eccfa1ecce71975f9ad92398)
@@ -54,5 +54,5 @@
 }
 
-void fpu_init()
+void fpu_init(void)
 {
 	/* TODO: Zero all SSE, MMX etc. registers */
Index: kernel/arch/arm32/include/arch/cp15.h
===================================================================
--- kernel/arch/arm32/include/arch/cp15.h	(revision 91deaff052ddd8a9a08e5684bb9d995509e5fc26)
+++ kernel/arch/arm32/include/arch/cp15.h	(revision 193d280c34f38846eccfa1ecce71975f9ad92398)
@@ -47,5 +47,5 @@
 
 #define CONTROL_REG_GEN_READ(name, crn, opc1, crm, opc2) \
-static inline uint32_t name##_read() \
+static inline uint32_t name##_read(void) \
 { \
 	uint32_t val; \
Index: kernel/arch/arm32/include/arch/security_ext.h
===================================================================
--- kernel/arch/arm32/include/arch/security_ext.h	(revision 91deaff052ddd8a9a08e5684bb9d995509e5fc26)
+++ kernel/arch/arm32/include/arch/security_ext.h	(revision 193d280c34f38846eccfa1ecce71975f9ad92398)
@@ -46,5 +46,5 @@
  * older archs.
  */
-static inline bool sec_ext_is_implemented()
+static inline bool sec_ext_is_implemented(void)
 {
 #ifdef PROCESSOR_ARCH_armv7_a
@@ -60,5 +60,5 @@
  * mode.
  */
-static inline bool sec_ext_is_monitor_mode()
+static inline bool sec_ext_is_monitor_mode(void)
 {
 	return (current_status_reg_read() & MODE_MASK) == MONITOR_MODE;
@@ -75,5 +75,5 @@
  * Look for 'secureworld_exit' in arch/arm/cpu/armv7/omap3/board.c.
  */
-static inline bool sec_ext_is_secure()
+static inline bool sec_ext_is_secure(void)
 {
 	return sec_ext_is_implemented()
Index: kernel/arch/arm32/src/arm32.c
===================================================================
--- kernel/arch/arm32/src/arm32.c	(revision 91deaff052ddd8a9a08e5684bb9d995509e5fc26)
+++ kernel/arch/arm32/src/arm32.c	(revision 193d280c34f38846eccfa1ecce71975f9ad92398)
@@ -158,5 +158,5 @@
 
 /** Reboot. */
-void arch_reboot()
+void arch_reboot(void)
 {
 	/* not implemented */
Index: kernel/arch/arm32/src/fpu_context.c
===================================================================
--- kernel/arch/arm32/src/fpu_context.c	(revision 91deaff052ddd8a9a08e5684bb9d995509e5fc26)
+++ kernel/arch/arm32/src/fpu_context.c	(revision 193d280c34f38846eccfa1ecce71975f9ad92398)
@@ -101,4 +101,5 @@
 	FPSCR_EN_ALL = FPSCR_DENORMAL_EN_FLAG | FPSCR_INEXACT_EN_FLAG | FPSCR_UNDERFLOW_EN_FLAG | FPSCR_OVERFLOW_EN_FLAG | FPSCR_ZERO_DIV_EN_FLAG | FPSCR_INVALID_OP_EN_FLAG,
 };
+
 extern uint32_t fpscr_read(void);
 extern void fpscr_write(uint32_t);
@@ -114,7 +115,8 @@
 static void (*restore_context)(fpu_context_t *ctx);
 
-static int fpu_have_coprocessor_access()
-{
-/* The register containing the information (CPACR) is not available on armv6-
+static int fpu_have_coprocessor_access(void)
+{
+/*
+ * The register containing the information (CPACR) is not available on armv6-
  * rely on user decision to use CONFIG_FPU.
  */
@@ -143,7 +145,8 @@
  * @note do we need to call secure monitor here?
  */
-static void fpu_enable_coprocessor_access()
-{
-/* The register containing the information (CPACR) is not available on armv6-
+static void fpu_enable_coprocessor_access(void)
+{
+/*
+ * The register containing the information (CPACR) is not available on armv6-
  * rely on user decision to use CONFIG_FPU.
  */
Index: kernel/arch/ia32/src/fpu_context.c
===================================================================
--- kernel/arch/ia32/src/fpu_context.c	(revision 91deaff052ddd8a9a08e5684bb9d995509e5fc26)
+++ kernel/arch/ia32/src/fpu_context.c	(revision 193d280c34f38846eccfa1ecce71975f9ad92398)
@@ -125,5 +125,5 @@
 
 /** Initialize x87 FPU. Mask all exceptions. */
-void fpu_init()
+void fpu_init(void)
 {
 	uint32_t help0 = 0;
Index: kernel/arch/ia64/src/mm/vhpt.c
===================================================================
--- kernel/arch/ia64/src/mm/vhpt.c	(revision 91deaff052ddd8a9a08e5684bb9d995509e5fc26)
+++ kernel/arch/ia64/src/mm/vhpt.c	(revision 193d280c34f38846eccfa1ecce71975f9ad92398)
@@ -82,5 +82,5 @@
 }
 
-void vhpt_invalidate_all()
+void vhpt_invalidate_all(void)
 {
 	memsetb(vhpt_base, VHPT_SIZE, 0);
Index: kernel/arch/mips32/src/debugger.c
===================================================================
--- kernel/arch/mips32/src/debugger.c	(revision 91deaff052ddd8a9a08e5684bb9d995509e5fc26)
+++ kernel/arch/mips32/src/debugger.c	(revision 193d280c34f38846eccfa1ecce71975f9ad92398)
@@ -288,5 +288,5 @@
  *
  */
-void debugger_init()
+void debugger_init(void)
 {
 	unsigned int i;
Index: kernel/arch/mips32/src/fpu_context.c
===================================================================
--- kernel/arch/mips32/src/fpu_context.c	(revision 91deaff052ddd8a9a08e5684bb9d995509e5fc26)
+++ kernel/arch/mips32/src/fpu_context.c	(revision 193d280c34f38846eccfa1ecce71975f9ad92398)
@@ -53,5 +53,5 @@
 }
 
-void fpu_init()
+void fpu_init(void)
 {
 	/* TODO: Zero all registers */
Index: kernel/arch/sparc32/src/sparc32.c
===================================================================
--- kernel/arch/sparc32/src/sparc32.c	(revision 91deaff052ddd8a9a08e5684bb9d995509e5fc26)
+++ kernel/arch/sparc32/src/sparc32.c	(revision 193d280c34f38846eccfa1ecce71975f9ad92398)
@@ -96,5 +96,5 @@
 
 
-void arch_post_cpu_init()
+void arch_post_cpu_init(void)
 {
 }
Index: kernel/generic/include/typedefs.h
===================================================================
--- kernel/generic/include/typedefs.h	(revision 91deaff052ddd8a9a08e5684bb9d995509e5fc26)
+++ kernel/generic/include/typedefs.h	(revision 193d280c34f38846eccfa1ecce71975f9ad92398)
@@ -50,5 +50,5 @@
 } atomic_t;
 
-typedef void (* function)();
+typedef void (* function)(void);
 
 typedef uint32_t container_id_t;
Index: kernel/generic/src/lib/func.c
===================================================================
--- kernel/generic/src/lib/func.c	(revision 91deaff052ddd8a9a08e5684bb9d995509e5fc26)
+++ kernel/generic/src/lib/func.c	(revision 193d280c34f38846eccfa1ecce71975f9ad92398)
@@ -51,5 +51,5 @@
  *
  */
-void halt()
+void halt(void)
 {
 #if (defined(CONFIG_DEBUG)) && (defined(CONFIG_KCONSOLE))
Index: uspace/app/bdsh/cmds/modules/cat/cat.c
===================================================================
--- uspace/app/bdsh/cmds/modules/cat/cat.c	(revision 91deaff052ddd8a9a08e5684bb9d995509e5fc26)
+++ uspace/app/bdsh/cmds/modules/cat/cat.c	(revision 193d280c34f38846eccfa1ecce71975f9ad92398)
@@ -108,5 +108,5 @@
 }
 
-static void waitprompt()
+static void waitprompt(void)
 {
 	console_set_pos(console, 0, console_rows-1);
@@ -120,5 +120,5 @@
 }
 
-static void waitkey()
+static void waitkey(void)
 {
 	cons_event_t ev;
@@ -149,5 +149,5 @@
 }
 
-static void newpage()
+static void newpage(void)
 {
 	console_clear(console);
Index: uspace/app/bdsh/input.c
===================================================================
--- uspace/app/bdsh/input.c	(revision 91deaff052ddd8a9a08e5684bb9d995509e5fc26)
+++ uspace/app/bdsh/input.c	(revision 193d280c34f38846eccfa1ecce71975f9ad92398)
@@ -219,5 +219,5 @@
 }
 
-void print_pipe_usage()
+void print_pipe_usage(void)
 {
 	printf("Invalid syntax!\n");
Index: uspace/app/trace/trace.c
===================================================================
--- uspace/app/trace/trace.c	(revision 91deaff052ddd8a9a08e5684bb9d995509e5fc26)
+++ uspace/app/trace/trace.c	(revision 193d280c34f38846eccfa1ecce71975f9ad92398)
@@ -730,5 +730,5 @@
 }
 
-static void print_syntax()
+static void print_syntax(void)
 {
 	printf("Syntax:\n");
Index: uspace/drv/bus/usb/vhc/devconn.c
===================================================================
--- uspace/drv/bus/usb/vhc/devconn.c	(revision 91deaff052ddd8a9a08e5684bb9d995509e5fc26)
+++ uspace/drv/bus/usb/vhc/devconn.c	(revision 193d280c34f38846eccfa1ecce71975f9ad92398)
@@ -32,5 +32,5 @@
 
 
-static vhc_virtdev_t *vhc_virtdev_create()
+static vhc_virtdev_t *vhc_virtdev_create(void)
 {
 	vhc_virtdev_t *dev = malloc(sizeof(vhc_virtdev_t));
Index: uspace/lib/c/generic/getopt.c
===================================================================
--- uspace/lib/c/generic/getopt.c	(revision 91deaff052ddd8a9a08e5684bb9d995509e5fc26)
+++ uspace/lib/c/generic/getopt.c	(revision 193d280c34f38846eccfa1ecce71975f9ad92398)
@@ -95,11 +95,8 @@
  * Compute the greatest common divisor of a and b.
  */
-static int
-gcd(a, b)
-	int a;
-	int b;
+static int gcd(int a, int b)
 {
 	int c;
-
+	
 	c = a % b;
 	while (c != 0) {
@@ -108,5 +105,5 @@
 		c = a % b;
 	}
-	   
+	
 	return b;
 }
@@ -117,10 +114,6 @@
  * in each block).
  */
-static void
-permute_args(panonopt_start, panonopt_end, opt_end, nargv)
-	int panonopt_start;
-	int panonopt_end;
-	int opt_end;
-	char **nargv;
+static void permute_args(int panonopt_start, int panonopt_end, int opt_end,
+    char **nargv)
 {
 	int cstart, cyclelen, i, j, ncycle, nnonopts, nopts, pos;
@@ -157,9 +150,5 @@
  *  Returns -2 if -- is found (can be long option or end of options marker).
  */
-static int
-getopt_internal(nargc, nargv, options)
-	int nargc;
-	char **nargv;
-	const char *options;
+static int getopt_internal(int nargc, char **nargv, const char *options)
 {
 	const char *oli;				/* option letter list index */
@@ -299,9 +288,5 @@
  *	Parse argc/argv argument vector.
  */
-int
-getopt(nargc, nargv, options)
-	int nargc;
-	char * const *nargv;
-	const char *options;
+int getopt(int nargc, char * const *nargv, const char *options)
 {
 	int retval;
@@ -332,11 +317,6 @@
  *	Parse argc/argv argument vector.
  */
-int
-getopt_long(nargc, nargv, options, long_options, idx)
-	int nargc;
-	char * const *nargv;
-	const char *options;
-	const struct option *long_options;
-	int *idx;
+int getopt_long(int nargc, char * const *nargv, const char *options,
+    const struct option *long_options, int *idx)
 {
 	int retval;
Index: uspace/lib/ieee80211/src/ieee80211.c
===================================================================
--- uspace/lib/ieee80211/src/ieee80211.c	(revision 91deaff052ddd8a9a08e5684bb9d995509e5fc26)
+++ uspace/lib/ieee80211/src/ieee80211.c	(revision 193d280c34f38846eccfa1ecce71975f9ad92398)
@@ -718,5 +718,5 @@
  *
  */
-ieee80211_dev_t *ieee80211_device_create()
+ieee80211_dev_t *ieee80211_device_create(void)
 {
 	return calloc(1, sizeof(ieee80211_dev_t));
Index: uspace/lib/pcut/src/run.c
===================================================================
--- uspace/lib/pcut/src/run.c	(revision 91deaff052ddd8a9a08e5684bb9d995509e5fc26)
+++ uspace/lib/pcut/src/run.c	(revision 193d280c34f38846eccfa1ecce71975f9ad92398)
@@ -73,8 +73,9 @@
 static int default_suite_initialized = 0;
 
-static void init_default_suite_when_needed() {
-	if (default_suite_initialized) {
+static void init_default_suite_when_needed(void)
+{
+	if (default_suite_initialized)
 		return;
-	}
+	
 	default_suite.id = -1;
 	default_suite.kind = PCUT_KIND_TESTSUITE;
@@ -91,11 +92,13 @@
  * @return Always a valid test suite item.
  */
-static pcut_item_t *pcut_find_parent_suite(pcut_item_t *it) {
+static pcut_item_t *pcut_find_parent_suite(pcut_item_t *it)
+{
 	while (it != NULL) {
-		if (it->kind == PCUT_KIND_TESTSUITE) {
+		if (it->kind == PCUT_KIND_TESTSUITE)
 			return it;
-		}
+		
 		it = it->previous;
 	}
+	
 	init_default_suite_when_needed();
 	return &default_suite;
@@ -106,8 +109,8 @@
  * @param func Function to run (can be NULL).
  */
-static void run_setup_teardown(pcut_setup_func_t func) {
-	if (func != NULL) {
+static void run_setup_teardown(pcut_setup_func_t func)
+{
+	if (func != NULL)
 		func();
-	}
 }
 
@@ -119,11 +122,11 @@
  * @param outcome Outcome of the current test.
  */
-static void leave_test(int outcome) {
+static void leave_test(int outcome)
+{
 	PCUT_DEBUG("leave_test(outcome=%d), will_exit=%s", outcome,
-		leave_means_exit ? "yes" : "no");
-	if (leave_means_exit) {
+	    leave_means_exit ? "yes" : "no");
+	if (leave_means_exit)
 		exit(outcome);
-	}
-
+	
 #ifndef PCUT_NO_LONG_JUMP
 	longjmp(start_test_jump, 1);
@@ -138,6 +141,8 @@
  * @param message Message describing the failure.
  */
-void pcut_failed_assertion(const char *message) {
+void pcut_failed_assertion(const char *message)
+{
 	static const char *prev_message = NULL;
+	
 	/*
 	 * The assertion failed. We need to abort the current test,
@@ -145,13 +150,12 @@
 	 * include running the tear-down routine.
 	 */
-	if (print_test_error) {
+	if (print_test_error)
 		pcut_print_fail_message(message);
-	}
-
+	
 	if (execute_teardown_on_failure) {
 		execute_teardown_on_failure = 0;
 		prev_message = message;
 		run_setup_teardown(current_suite->teardown_func);
-
+		
 		/* Tear-down was okay. */
 		if (report_test_result) {
@@ -165,7 +169,7 @@
 		}
 	}
-
+	
 	prev_message = NULL;
-
+	
 	leave_test(TEST_OUTCOME_FAIL); /* No return. */
 }
@@ -176,5 +180,6 @@
  * @return Error status (zero means success).
  */
-static int run_test(pcut_item_t *test) {
+static int run_test(pcut_item_t *test)
+{
 	/*
 	 * Set here as the returning point in case of test failure.
@@ -182,20 +187,19 @@
 	 * test execution.
 	 */
+	
 #ifndef PCUT_NO_LONG_JUMP
 	int test_finished = setjmp(start_test_jump);
-	if (test_finished) {
+	if (test_finished)
 		return 1;
-	}
 #endif
-
-	if (report_test_result) {
+	
+	if (report_test_result)
 		pcut_report_test_start(test);
-	}
-
+	
 	current_suite = pcut_find_parent_suite(test);
 	current_test = test;
-
+	
 	pcut_hook_before_test(test);
-
+	
 	/*
 	 * If anything goes wrong, execute the tear-down function
@@ -203,10 +207,10 @@
 	 */
 	execute_teardown_on_failure = 1;
-
+	
 	/*
 	 * Run the set-up function.
 	 */
 	run_setup_teardown(current_suite->setup_func);
-
+	
 	/*
 	 * The setup function was performed, it is time to run
@@ -214,5 +218,5 @@
 	 */
 	test->test_func();
-
+	
 	/*
 	 * Finally, run the tear-down function. We need to clear
@@ -221,14 +225,13 @@
 	execute_teardown_on_failure = 0;
 	run_setup_teardown(current_suite->teardown_func);
-
+	
 	/*
 	 * If we got here, it means everything went well with
 	 * this test.
 	 */
-	if (report_test_result) {
+	if (report_test_result)
 		pcut_report_test_done(current_test, TEST_OUTCOME_PASS,
-			NULL, NULL, NULL);
-	}
-
+		    NULL, NULL, NULL);
+	
 	return 0;
 }
@@ -242,16 +245,15 @@
  * @return Error status (zero means success).
  */
-int pcut_run_test_forked(pcut_item_t *test) {
-	int rc;
-
+int pcut_run_test_forked(pcut_item_t *test)
+{
 	report_test_result = 0;
 	print_test_error = 1;
 	leave_means_exit = 1;
-
-	rc = run_test(test);
-
+	
+	int rc = run_test(test);
+	
 	current_test = NULL;
 	current_suite = NULL;
-
+	
 	return rc;
 }
@@ -265,16 +267,15 @@
  * @return Error status (zero means success).
  */
-int pcut_run_test_single(pcut_item_t *test) {
-	int rc;
-
+int pcut_run_test_single(pcut_item_t *test)
+{
 	report_test_result = 1;
 	print_test_error = 0;
 	leave_means_exit = 0;
-
-	rc = run_test(test);
-
+	
+	int rc = run_test(test);
+	
 	current_test = NULL;
 	current_suite = NULL;
-
+	
 	return rc;
 }
@@ -285,16 +286,16 @@
  * @return Timeout in seconds.
  */
-int pcut_get_test_timeout(pcut_item_t *test) {
+int pcut_get_test_timeout(pcut_item_t *test)
+{
 	int timeout = PCUT_DEFAULT_TEST_TIMEOUT;
 	pcut_extra_t *extras = test->extras;
-
-
+	
 	while (extras->type != PCUT_EXTRA_LAST) {
-		if (extras->type == PCUT_EXTRA_TIMEOUT) {
+		if (extras->type == PCUT_EXTRA_TIMEOUT)
 			timeout = extras->timeout;
-		}
+		
 		extras++;
 	}
-
+	
 	return timeout;
 }
Index: uspace/lib/posix/source/signal.c
===================================================================
--- uspace/lib/posix/source/signal.c	(revision 91deaff052ddd8a9a08e5684bb9d995509e5fc26)
+++ uspace/lib/posix/source/signal.c	(revision 193d280c34f38846eccfa1ecce71975f9ad92398)
@@ -382,5 +382,5 @@
  * Raise all unblocked previously queued signals.
  */
-static void _dequeue_unblocked_signals()
+static void _dequeue_unblocked_signals(void)
 {
 	link_t *iterator = _signal_queue.head.next;
Index: uspace/srv/bd/sata_bd/sata_bd.c
===================================================================
--- uspace/srv/bd/sata_bd/sata_bd.c	(revision 91deaff052ddd8a9a08e5684bb9d995509e5fc26)
+++ uspace/srv/bd/sata_bd/sata_bd.c	(revision 193d280c34f38846eccfa1ecce71975f9ad92398)
@@ -147,5 +147,5 @@
  *
  */
-static int get_sata_disks()
+static int get_sata_disks(void)
 {
 	devman_handle_t root_fun;
Index: uspace/srv/klog/klog.c
===================================================================
--- uspace/srv/klog/klog.c	(revision 91deaff052ddd8a9a08e5684bb9d995509e5fc26)
+++ uspace/srv/klog/klog.c	(revision 193d280c34f38846eccfa1ecce71975f9ad92398)
@@ -51,5 +51,5 @@
 #include <io/logctl.h>
 
-#define NAME       "klog"
+#define NAME  "klog"
 
 typedef size_t __attribute__ ((aligned(1))) unaligned_size_t;
@@ -98,5 +98,5 @@
  *
  */
-static void producer()
+static void producer(void)
 {
 	int read = klog_read(buffer, BUFFER_SIZE);
