aboutsummaryrefslogtreecommitdiffstats
path: root/libarchive/archive_write_add_filter.c
diff options
context:
space:
mode:
Diffstat (limited to 'libarchive/archive_write_add_filter.c')
-rw-r--r--libarchive/archive_write_add_filter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libarchive/archive_write_add_filter.c b/libarchive/archive_write_add_filter.c
index ad5dc832fdae..08f518adec4b 100644
--- a/libarchive/archive_write_add_filter.c
+++ b/libarchive/archive_write_add_filter.c
@@ -38,7 +38,7 @@ __FBSDID("$FreeBSD$");
#include "archive_private.h"
/* A table that maps filter codes to functions. */
-static
+static const
struct { int code; int (*setter)(struct archive *); } codes[] =
{
{ ARCHIVE_FILTER_NONE, archive_write_add_filter_none },