aboutsummaryrefslogtreecommitdiffstats
path: root/libarchive/archive_write_add_filter_by_name.c
diff options
context:
space:
mode:
Diffstat (limited to 'libarchive/archive_write_add_filter_by_name.c')
-rw-r--r--libarchive/archive_write_add_filter_by_name.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libarchive/archive_write_add_filter_by_name.c b/libarchive/archive_write_add_filter_by_name.c
index eac4011cb2ee..85a8d4753415 100644
--- a/libarchive/archive_write_add_filter_by_name.c
+++ b/libarchive/archive_write_add_filter_by_name.c
@@ -42,7 +42,7 @@ __FBSDID("$FreeBSD$");
#include "archive_private.h"
/* A table that maps names to functions. */
-static
+static const
struct { const char *name; int (*setter)(struct archive *); } names[] =
{
{ "b64encode", archive_write_add_filter_b64encode },