[Pinfo-devel] r128 - pinfo/branches/cxx/src
Nathanael Nerode
neroden-guest at costa.debian.org
Fri Sep 2 04:25:09 UTC 2005
Author: neroden-guest
Date: 2005-09-02 04:25:08 +0000 (Fri, 02 Sep 2005)
New Revision: 128
Modified:
pinfo/branches/cxx/src/filehandling_functions.cxx
Log:
Constify suffixes table.
Modified: pinfo/branches/cxx/src/filehandling_functions.cxx
===================================================================
--- pinfo/branches/cxx/src/filehandling_functions.cxx 2005-09-02 04:23:24 UTC (rev 127)
+++ pinfo/branches/cxx/src/filehandling_functions.cxx 2005-09-02 04:25:08 UTC (rev 128)
@@ -75,14 +75,14 @@
typedef struct Suffixes
{
- const char *suffix;
- const char *command;
+ const char * const suffix;
+ const char * const command;
}
Suffixes;
#define SuffixesNumber 4
-Suffixes suffixes[SuffixesNumber] =
+static const Suffixes suffixes[SuffixesNumber] =
{
{"", "cat"},
{".gz", "gzip -d -q -c"},
More information about the Pinfo-devel
mailing list