Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-projects commit in pax-utils: paxelf.c
Date: Tue, 01 Dec 2009 05:53:01
Message-Id: E1NFLfT-0000MV-Pk@stork.gentoo.org
1 vapier 09/12/01 05:52:55
2
3 Modified: paxelf.c
4 Log:
5 constify all the elf pairs
6
7 Revision Changes Path
8 1.65 pax-utils/paxelf.c
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/paxelf.c?rev=1.65&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/paxelf.c?rev=1.65&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/paxelf.c?r1=1.64&r2=1.65
13
14 Index: paxelf.c
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-projects/pax-utils/paxelf.c,v
17 retrieving revision 1.64
18 retrieving revision 1.65
19 diff -u -r1.64 -r1.65
20 --- paxelf.c 1 Dec 2009 05:50:11 -0000 1.64
21 +++ paxelf.c 1 Dec 2009 05:52:55 -0000 1.65
22 @@ -1,7 +1,7 @@
23 /*
24 * Copyright 2003-2007 Gentoo Foundation
25 * Distributed under the terms of the GNU General Public License v2
26 - * $Header: /var/cvsroot/gentoo-projects/pax-utils/paxelf.c,v 1.64 2009/12/01 05:50:11 vapier Exp $
27 + * $Header: /var/cvsroot/gentoo-projects/pax-utils/paxelf.c,v 1.65 2009/12/01 05:52:55 vapier Exp $
28 *
29 * Copyright 2005-2007 Ned Ludd - <solar@g.o>
30 * Copyright 2005-2007 Mike Frysinger - <vapier@g.o>
31 @@ -14,7 +14,7 @@
32 * binary defines into readable strings.
33 */
34 #define QUERY(n) { #n, n }
35 -typedef struct {
36 +typedef const struct {
37 const char *str;
38 int value;
39 } pairtype;