From 8221fd5451f094defa9866f98026b74a969f7693 Mon Sep 17 00:00:00 2001 From: Benji Dial Date: Mon, 8 Mar 2021 14:46:19 -0500 Subject: resizable widgets, default widget implementation for some functions, reimplementing meminfo in raleigh --- src/user/include/knob/key.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/user/include/knob') diff --git a/src/user/include/knob/key.h b/src/user/include/knob/key.h index d532afd..3597e2a 100644 --- a/src/user/include/knob/key.h +++ b/src/user/include/knob/key.h @@ -7,7 +7,8 @@ extern "C" { #include -char key_to_char(struct key_packet kp) __attribute__ ((pure)); +char key_to_char(struct key_packet kp) __attribute__ ((const)); +bool match_side_agnostic(struct key_packet a, struct key_packet b) __attribute__ ((const)); #ifdef __cplusplus } -- cgit v1.2.3