From f29228bbdcffdc8810ff8c766a05c6ca63a42086 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Fri, 12 Feb 2016 15:57:26 +0100 Subject: Mark some tables as const This allows them to be placed into the read only ELF section. --- vis-motions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vis-motions.c') diff --git a/vis-motions.c b/vis-motions.c index 63cb0dc..e0db048 100644 --- a/vis-motions.c +++ b/vis-motions.c @@ -296,7 +296,7 @@ err: return false; } -Movement vis_motions[] = { +const Movement vis_motions[] = { [VIS_MOVE_LINE_UP] = { .cur = view_line_up, .type = LINEWISE }, [VIS_MOVE_LINE_DOWN] = { .cur = view_line_down, .type = LINEWISE }, [VIS_MOVE_SCREEN_LINE_UP] = { .cur = view_screenline_up, }, -- cgit v1.2.3