aboutsummaryrefslogtreecommitdiff
path: root/vis-motions.c
diff options
context:
space:
mode:
Diffstat (limited to 'vis-motions.c')
-rw-r--r--vis-motions.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/vis-motions.c b/vis-motions.c
index 92ab995..9917ce5 100644
--- a/vis-motions.c
+++ b/vis-motions.c
@@ -293,8 +293,7 @@ void vis_motion_type(Vis *vis, enum VisMotionType type) {
vis->action.type = type;
}
-int vis_motion_register(Vis *vis, enum VisMotionType type, void *data,
- size_t (*motion)(Vis*, Win*, void*, size_t pos)) {
+int vis_motion_register(Vis *vis, enum VisMotionType type, void *data, VisMotionFunction *motion) {
Movement *move = calloc(1, sizeof *move);
if (!move)