diff options
Diffstat (limited to 'src/user/include/knob')
-rw-r--r-- | src/user/include/knob/key.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 <keypack.h> -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 } |