[hackers] [slstatus][PATCH] fix keyboard_indicators() prototype

From: NRK <nrk_AT_disroot.org>
Date: Sat, 27 Aug 2022 20:40:20 +0600

according to both the function definition and the comment in
config.def.h, keyboard_indicators() should take a format string.
---
 slstatus.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/slstatus.h b/slstatus.h
index b0f2564..362ca7c 100644
--- a/slstatus.h
+++ b/slstatus.h
_AT_@ -32,7 +32,7 @@ const char *ipv6(const char *interface);
 const char *kernel_release(void);
 
 /* keyboard_indicators */
-const char *keyboard_indicators(void);
+const char *keyboard_indicators(const char *fmt);
 
 /* keymap */
 const char *keymap(void);
-- 
2.35.1
Received on Sat Aug 27 2022 - 16:40:20 CEST

This archive was generated by hypermail 2.3.0 : Sat Aug 27 2022 - 16:48:35 CEST