This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] gcc/*.c: Follow spelling conventions.
- From: Kazu Hirata <kazu at cs dot umass dot edu>
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 19 Aug 2003 17:10:19 -0400 (EDT)
- Subject: [patch] gcc/*.c: Follow spelling conventions.
Hi,
Attached is a patch to follow spelling conventions. Committed as
obvious.
Kazu Hirata
2003-08-19 Kazu Hirata <kazu@cs.umass.edu>
* c-decl.c: Follow spelling conventions.
* cppfiles.c: Likewise.
Index: c-decl.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/c-decl.c,v
retrieving revision 1.431
diff -u -r1.431 c-decl.c
--- c-decl.c 19 Aug 2003 21:04:38 -0000 1.431
+++ c-decl.c 19 Aug 2003 21:08:30 -0000
@@ -6764,7 +6764,7 @@
tree old_decl = (tree) *slot;
/* If this is weak or common or whatever, suppress it
- in favour of the other definition. */
+ in favor of the other definition. */
if (DECL_WEAK (decl))
DECL_EXTERNAL (decl) = 1;
else if (DECL_WEAK (old_decl) && ! DECL_WEAK (decl))
Index: cppfiles.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cppfiles.c,v
retrieving revision 1.186
diff -u -r1.186 cppfiles.c
--- cppfiles.c 9 Aug 2003 22:14:07 -0000 1.186
+++ cppfiles.c 19 Aug 2003 21:08:31 -0000
@@ -334,7 +334,7 @@
add the result to our cache.
If the file was not found in the filesystem, or there was an error
- opening it, then ERR_NO is non-zero and FD is -1. If the file was
+ opening it, then ERR_NO is nonzero and FD is -1. If the file was
found, then ERR_NO is zero and FD could be -1 or an open file
descriptor. FD can be -1 if the file was found in the cache and
had previously been closed. To open it again pass the return value
@@ -675,7 +675,7 @@
}
/* Strip the basename from the file's path. It ends with a slash if
- of non-zero length. Note that this procedure also works for
+ of nonzero length. Note that this procedure also works for
<stdin>, which is represented by the empty string. */
static const char *
dir_name_of_file (_cpp_file *file)