diff options
Diffstat (limited to 'src/keyboard.h')
| -rw-r--r-- | src/keyboard.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/keyboard.h b/src/keyboard.h index a44a58f..09a71be 100644 --- a/src/keyboard.h +++ b/src/keyboard.h @@ -77,8 +77,6 @@ struct keyboard_update { }; struct reactor; -/** Typedef for any allocation function */ -typedef void *(*alloc_fn)(size_t); /** * Create a new keyboard @@ -112,7 +110,7 @@ struct keyboard keyboard_create_fd(struct reactor *reactor, int fd); */ struct keyboard_update keyboard_update(struct keyboard *kbd, struct reactor *reactor, - alloc_fn frame_alloc); + void *(*frame_alloc)(size_t)); /** * Does key represent the same key press as mod and c. |
