aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-12-08 01:24:01 +0000
committerMike Frysinger <vapier@gentoo.org>2010-12-08 01:24:01 +0000
commit9335e052294f9dcdc182c628b652d86e1980fb9c (patch)
tree8c9728f5f09e77db9b74fc2912f488cb8cab0b05 /dumpelf.c
parentadd a -C/--nocolor option and respect env $NOCOLOR #332289 (diff)
downloadpax-utils-9335e052294f9dcdc182c628b652d86e1980fb9c.tar.gz
pax-utils-9335e052294f9dcdc182c628b652d86e1980fb9c.tar.bz2
pax-utils-9335e052294f9dcdc182c628b652d86e1980fb9c.zip
constify help string array
Diffstat (limited to 'dumpelf.c')
-rw-r--r--dumpelf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/dumpelf.c b/dumpelf.c
index b0318f3..90adc6d 100644
--- a/dumpelf.c
+++ b/dumpelf.c
@@ -1,13 +1,13 @@
/*
* Copyright 2005-2007 Gentoo Foundation
* Distributed under the terms of the GNU General Public License v2
- * $Header: /var/cvsroot/gentoo-projects/pax-utils/dumpelf.c,v 1.28 2010/12/08 00:54:40 vapier Exp $
+ * $Header: /var/cvsroot/gentoo-projects/pax-utils/dumpelf.c,v 1.29 2010/12/08 01:24:01 vapier Exp $
*
* Copyright 2005-2007 Ned Ludd - <solar@gentoo.org>
* Copyright 2005-2007 Mike Frysinger - <vapier@gentoo.org>
*/
-static const char *rcsid = "$Id: dumpelf.c,v 1.28 2010/12/08 00:54:40 vapier Exp $";
+static const char *rcsid = "$Id: dumpelf.c,v 1.29 2010/12/08 01:24:01 vapier Exp $";
const char argv0[] = "dumpelf";
#include "paxinc.h"
@@ -272,7 +272,7 @@ static struct option const long_opts[] = {
{"version", no_argument, NULL, 'V'},
{NULL, no_argument, NULL, 0x0}
};
-static const char *opts_help[] = {
+static const char * const opts_help[] = {
"Be verbose (can be specified more than once)",
"Print this help and exit",
"Print version and exit",