]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Make a few helper functions static.
authorJanne Blomqvist <jb@gcc.gnu.org>
Thu, 1 Dec 2011 15:21:13 +0000 (17:21 +0200)
committerJanne Blomqvist <jb@gcc.gnu.org>
Thu, 1 Dec 2011 15:21:13 +0000 (17:21 +0200)
2011-12-01  Janne Blomqvist  <jb@gcc.gnu.org>

* module.c (dt_lower_string): Make static.
(dt_upper_string): Likewise.

From-SVN: r181881

gcc/fortran/ChangeLog
gcc/fortran/module.c

index 9c62697d29eb7e7d31069d9e5eabdff6ac0382c2..3fee56d891f6c29870ed8f87d6aca9a9c73880cc 100644 (file)
@@ -1,3 +1,8 @@
+2011-12-01  Janne Blomqvist  <jb@gcc.gnu.org>
+
+       * module.c (dt_lower_string): Make static.
+       (dt_upper_string): Likewise.
+
 2011-12-01  Janne Blomqvist  <jb@gcc.gnu.org>
 
        PR fortran/25708
index f9774d491b86ed75864e4f5c617f3deb039af9e0..1ab08ae2cdf5cc22e63cf9ba2d842eae623a8624 100644 (file)
@@ -435,7 +435,7 @@ resolve_fixups (fixup_t *f, void *gp)
    to convert the symtree name of a derived-type to the symbol name or to
    the name of the associated generic function.  */
 
-const char *
+static const char *
 dt_lower_string (const char *name)
 {
   if (name[0] != (char) TOLOWER ((unsigned char) name[0]))
@@ -450,7 +450,7 @@ dt_lower_string (const char *name)
    symtree/symbol name of the associated generic function start with a lower-
    case character.  */
 
-const char *
+static const char *
 dt_upper_string (const char *name)
 {
   if (name[0] != (char) TOUPPER ((unsigned char) name[0]))