diff --git a/src/userland/hlib/stdio.c b/src/userland/hlib/stdio.c index 00dc796..11faa56 100644 --- a/src/userland/hlib/stdio.c +++ b/src/userland/hlib/stdio.c @@ -137,7 +137,7 @@ return; } } -uint32_t ioManager, logFunction, keyCallback; +uint32_t ioManager, logFunction; void _printf(void *(malloc)(uint32_t), const char *format, ...) { // I have absolutely no idea why this line fixes an issue where the first diff --git a/src/userland/hlib/stdio.c b/src/userland/hlib/stdio.c index 00dc796..11faa56 100644 --- a/src/userland/hlib/stdio.c +++ b/src/userland/hlib/stdio.c @@ -137,7 +137,7 @@ return; } } -uint32_t ioManager, logFunction, keyCallback; +uint32_t ioManager, logFunction; void _printf(void *(malloc)(uint32_t), const char *format, ...) { // I have absolutely no idea why this line fixes an issue where the first diff --git a/src/userland/ioManager/main.c b/src/userland/ioManager/main.c index a47e48a..69ebfdb 100644 --- a/src/userland/ioManager/main.c +++ b/src/userland/ioManager/main.c @@ -122,7 +122,7 @@ int32_t main() { ioManager = getServiceId(); logFunction = createFunction("", (void *)handleLog); - keyCallback = createFunction("keyCallback", (void *)handleKey); + createFunction("keyCallback", (void *)handleKey); createFunction("checkFocus", (void *)checkFocus); mainService = loadFromInitrd("vga"); mainOut = getFunction(mainService, "writeChar");