* fish/completion.c (commands): Declare with a 2nd "const".
authorJim Meyering <jim@meyering.net>
Thu, 30 Apr 2009 12:34:02 +0000 (14:34 +0200)
committerRichard Jones <rjones@redhat.com>
Thu, 30 Apr 2009 13:15:22 +0000 (14:15 +0100)
It's a const array of const strings.

>From 70c53d3169ae53fc4874e00975893d33387c51e6 Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering@redhat.com>
Date: Thu, 30 Apr 2009 14:33:01 +0200
Subject: [PATCH] * fish/completion.c (commands): Declare with a 2nd "const".

fish/completion.c

index d7dfc49..e44c388 100644 (file)
@@ -33,7 +33,7 @@
 
 #ifdef HAVE_LIBREADLINE
 
-static const char *commands[] = {
+static const char *const commands[] = {
   "add",
   "add-cdrom",
   "add-drive",