aboutsummaryrefslogtreecommitdiffstats
path: root/libarchive/archive_write_set_format.c
diff options
context:
space:
mode:
Diffstat (limited to 'libarchive/archive_write_set_format.c')
-rw-r--r--libarchive/archive_write_set_format.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libarchive/archive_write_set_format.c b/libarchive/archive_write_set_format.c
index 744302d06775..0f706231add1 100644
--- a/libarchive/archive_write_set_format.c
+++ b/libarchive/archive_write_set_format.c
@@ -38,7 +38,7 @@ __FBSDID("$FreeBSD: head/lib/libarchive/archive_write_set_format.c 201168 2009-1
#include "archive_private.h"
/* A table that maps format codes to functions. */
-static
+static const
struct { int code; int (*setter)(struct archive *); } codes[] =
{
{ ARCHIVE_FORMAT_7ZIP, archive_write_set_format_7zip },