Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-projects commit in portage-utils/libq: atom_compare.c
Date: Mon, 21 Feb 2011 01:33:58
Message-Id: 20110221013347.D8C052004E@flycatcher.gentoo.org
1 vapier 11/02/21 01:33:47
2
3 Modified: atom_compare.c
4 Log:
5 constify more strings
6
7 Revision Changes Path
8 1.7 portage-utils/libq/atom_compare.c
9
10 file : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/portage-utils/libq/atom_compare.c?rev=1.7&view=markup
11 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-projects/portage-utils/libq/atom_compare.c?rev=1.7&content-type=text/plain
12 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/portage-utils/libq/atom_compare.c?r1=1.6&r2=1.7
13
14 Index: atom_compare.c
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-projects/portage-utils/libq/atom_compare.c,v
17 retrieving revision 1.6
18 retrieving revision 1.7
19 diff -u -r1.6 -r1.7
20 --- atom_compare.c 17 Jan 2008 06:35:08 -0000 1.6
21 +++ atom_compare.c 21 Feb 2011 01:33:47 -0000 1.7
22 @@ -1,7 +1,7 @@
23 /*
24 * Copyright 2005-2008 Gentoo Foundation
25 * Distributed under the terms of the GNU General Public License v2
26 - * $Header: /var/cvsroot/gentoo-projects/portage-utils/libq/atom_compare.c,v 1.6 2008/01/17 06:35:08 vapier Exp $
27 + * $Header: /var/cvsroot/gentoo-projects/portage-utils/libq/atom_compare.c,v 1.7 2011/02/21 01:33:47 vapier Exp $
28 *
29 * Copyright 2005-2008 Ned Ludd - <solar@g.o>
30 * Copyright 2005-2008 Mike Frysinger - <vapier@g.o>
31 @@ -17,7 +17,7 @@
32 } depend_atom;
33 */
34
35 -const char *booga[] = {"!!!", "!=", "==", ">", "<"};
36 +const char * const booga[] = {"!!!", "!=", "==", ">", "<"};
37 enum { ERROR=0, NOT_EQUAL, EQUAL, NEWER, OLDER };
38 /* a1 <return value> a2
39 * foo-1 <EQUAL> foo-1