From bb57b124d1bb385d41747f50be7dd4f3625539c1 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sun, 24 Nov 2019 23:34:32 +0100 Subject: Major coding style reformatting -> Kernighan & Ritchie This project now (hopefully) uses the same style recommended by Kernighan and Ritchie and used in the Linux Kernel --- src/mlibc/stdlib/itoa.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/mlibc/stdlib/itoa.c') diff --git a/src/mlibc/stdlib/itoa.c b/src/mlibc/stdlib/itoa.c index 8c557ab..3c8ee05 100644 --- a/src/mlibc/stdlib/itoa.c +++ b/src/mlibc/stdlib/itoa.c @@ -6,7 +6,8 @@ static const char __ITOA_TABLE[] = "0123456789"; -char *itoa(int n) { +char *itoa(int n) +{ if (paging_enabled == 0) return "0"; // kmalloc isn't available -- cgit v1.2.3