From: Jim Meyering Date: Thu, 30 Apr 2009 12:34:02 +0000 (+0200) Subject: * fish/completion.c (commands): Declare with a 2nd "const". X-Git-Tag: 1.0.16~16 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=366a86fb6097ab0f704443f0a6ae2addbc3745d5;p=libguestfs.git * fish/completion.c (commands): Declare with a 2nd "const". It's a const array of const strings. >From 70c53d3169ae53fc4874e00975893d33387c51e6 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 30 Apr 2009 14:33:01 +0200 Subject: [PATCH] * fish/completion.c (commands): Declare with a 2nd "const". --- diff --git a/fish/completion.c b/fish/completion.c index d7dfc49..e44c388 100644 --- a/fish/completion.c +++ b/fish/completion.c @@ -33,7 +33,7 @@ #ifdef HAVE_LIBREADLINE -static const char *commands[] = { +static const char *const commands[] = { "add", "add-cdrom", "add-drive",