aboutsummaryrefslogtreecommitdiffstats
path: root/libarchive/archive_write_set_format_filter_by_ext.c
diff options
context:
space:
mode:
Diffstat (limited to 'libarchive/archive_write_set_format_filter_by_ext.c')
-rw-r--r--libarchive/archive_write_set_format_filter_by_ext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libarchive/archive_write_set_format_filter_by_ext.c b/libarchive/archive_write_set_format_filter_by_ext.c
index 3f3aeddef090..db69203e96fb 100644
--- a/libarchive/archive_write_set_format_filter_by_ext.c
+++ b/libarchive/archive_write_set_format_filter_by_ext.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 (*format)(struct archive *); int (*filter)(struct archive *); } names[] =
{
{ ".7z", archive_write_set_format_7zip, archive_write_add_filter_none},