gfortran.h (gfc_add_attribute): Change uint to unsigned int.
authorDanny Smith <dannysmith@users.sourceforge.net>
Sat, 18 Feb 2006 16:10:59 +0000 (16:10 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Sat, 18 Feb 2006 16:10:59 +0000 (16:10 +0000)
2006-02-18   Danny Smith  <dannysmith@users.sourceforeg.net>

    * gfortran.h (gfc_add_attribute): Change uint to unsigned int.
    * symbol.c (gfc_add_attribute): Likewise for definition.
    * resolve.c (resolve_global_procedure): Likewise for variable 'type'.

From-SVN: r111239

gcc/fortran/ChangeLog
gcc/fortran/gfortran.h
gcc/fortran/resolve.c
gcc/fortran/symbol.c

index 52a1303c9b64ad978934dc245e7e46a95ff14a85..ab086b068e35dddddde35622b67a71d9658b42ad 100644 (file)
@@ -1,3 +1,9 @@
+2006-02-18   Danny Smith  <dannysmith@users.sourceforeg.net>
+
+       * gfortran.h (gfc_add_attribute): Change uint to unsigned int.
+       * symbol.c (gfc_add_attribute): Likewise for definition.
+       * resolve.c (resolve_global_procedure): Likewise for variable 'type'.
+
 2006-02-17  Richard Sandiford  <richard@codesourcery.com>
 
        * trans-common.c: Include rtl.h earlier.
index 16f0a127051000478c8d010f3adba9b6939c9d5d..aa6698085cdadc29a898556f13e1742ff1ca1c64 100644 (file)
@@ -1784,7 +1784,7 @@ void gfc_get_component_attr (symbol_attribute *, gfc_component *);
 
 void gfc_set_sym_referenced (gfc_symbol * sym);
 
-try gfc_add_attribute (symbol_attribute *, locus *, uint);
+try gfc_add_attribute (symbol_attribute *, locus *, unsigned int);
 try gfc_add_allocatable (symbol_attribute *, locus *);
 try gfc_add_dimension (symbol_attribute *, const char *, locus *);
 try gfc_add_external (symbol_attribute *, locus *);
index 61983d153a0857550f4e1ca88ab548e23ba58cdf..1de2446aa1f71add872b401bb78f434f6209ef25 100644 (file)
@@ -916,7 +916,7 @@ static void
 resolve_global_procedure (gfc_symbol *sym, locus *where, int sub)
 {
   gfc_gsymbol * gsym;
-  uint type;
+  unsigned int type;
 
   type = sub ? GSYM_SUBROUTINE : GSYM_FUNCTION;
 
index 7fc7ef1b6f8b5e8d7b7e5a6b9900cff51efc8b34..45c7d2549eb3a65c24df5fad11817bcde0e9dcbf 100644 (file)
@@ -604,7 +604,8 @@ duplicate_attr (const char *attr, locus * where)
 /* Called from decl.c (attr_decl1) to check attributes, when declared separately.  */
 
 try
-gfc_add_attribute (symbol_attribute * attr, locus * where, uint attr_intent)
+gfc_add_attribute (symbol_attribute * attr, locus * where,
+                  unsigned int attr_intent)
 {
 
   if (check_used (attr, NULL, where)