summaryrefslogtreecommitdiff
path: root/src/truncate.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/truncate.c')
-rw-r--r--src/truncate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/truncate.c b/src/truncate.c
index cc4f5075d..8febd5895 100644
--- a/src/truncate.c
+++ b/src/truncate.c
@@ -50,7 +50,7 @@ static bool block_mode;
/* (-r) Reference file to use size from */
static char const *ref_file;
-static const struct option const longopts[] =
+static struct option const longopts[] =
{
{"no-create", no_argument, NULL, 'c'},
{"io-blocks", no_argument, NULL, 'o'},