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 /scanmacho.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 'scanmacho.c')
-rw-r--r--scanmacho.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/scanmacho.c b/scanmacho.c
index 009cfe5..e9881f8 100644
--- a/scanmacho.c
+++ b/scanmacho.c
@@ -1,7 +1,7 @@
/*
* Copyright 2008 Gentoo Foundation
* Distributed under the terms of the GNU General Public License v2
- * $Header: /var/cvsroot/gentoo-projects/pax-utils/scanmacho.c,v 1.20 2010/12/08 01:16:01 vapier Exp $
+ * $Header: /var/cvsroot/gentoo-projects/pax-utils/scanmacho.c,v 1.21 2010/12/08 01:24:01 vapier Exp $
*
* based on scanelf by:
* Copyright 2003-2007 Ned Ludd - <solar@gentoo.org>
@@ -10,7 +10,7 @@
* 2008-2010 Fabian Groffen - <grobian@gentoo.org>
*/
-static const char *rcsid = "$Id: scanmacho.c,v 1.20 2010/12/08 01:16:01 vapier Exp $";
+static const char *rcsid = "$Id: scanmacho.c,v 1.21 2010/12/08 01:24:01 vapier Exp $";
const char argv0[] = "scanmacho";
#include "paxinc.h"
@@ -530,7 +530,7 @@ static struct option const long_opts[] = {
{NULL, no_argument, NULL, 0x0}
};
-static const char *opts_help[] = {
+static const char * const opts_help[] = {
"Scan all directories in PATH environment",
"Scan directories recursively",
"Don't recursively cross mount points",