* io/unit.c (is_internal_unit): Add void as parameter list.
authoraj <aj@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 15 May 2005 13:25:19 +0000 (13:25 +0000)
committeraj <aj@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 15 May 2005 13:25:19 +0000 (13:25 +0000)
* io/transfer.c: Move prototype declarations before the functions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99721 138bc75d-0d04-0410-961f-82ee72b054a4

libgfortran/ChangeLog
libgfortran/io/transfer.c
libgfortran/io/unit.c

index ba91e8a..38be6a3 100644 (file)
@@ -1,5 +1,9 @@
 2005-05-15  Andreas Jaeger  <aj@suse.de>
 
+       * io/unit.c (is_internal_unit): Add void as parameter list.
+
+       * io/transfer.c: Move prototype declarations before the functions.
+
        * runtime/normalize.c (almostone_r4, almostone_r8): Fix parameter
        list.
 
index 9981a9f..ce556ff 100644 (file)
@@ -1627,6 +1627,11 @@ st_write_done (void)
 /* Receives the scalar information for namelist objects and stores it
    in a linked list of namelist_info types.  */
 
+extern void st_set_nml_var (void * ,char * ,
+                           GFC_INTEGER_4 ,gfc_charlen_type ,GFC_INTEGER_4);
+export_proto(st_set_nml_var);
+
+
 void
 st_set_nml_var (void * var_addr, char * var_name, GFC_INTEGER_4 len,
                gfc_charlen_type string_length, GFC_INTEGER_4 dtype)
@@ -1674,6 +1679,9 @@ st_set_nml_var (void * var_addr, char * var_name, GFC_INTEGER_4 len,
 }
 
 /* Store the dimensional information for the namelist object.  */
+extern void st_set_nml_var_dim (GFC_INTEGER_4, GFC_INTEGER_4,
+                               GFC_INTEGER_4 ,GFC_INTEGER_4);
+export_proto(st_set_nml_var_dim);
 
 void
 st_set_nml_var_dim (GFC_INTEGER_4 n_dim, GFC_INTEGER_4 stride,
@@ -1690,11 +1698,3 @@ st_set_nml_var_dim (GFC_INTEGER_4 n_dim, GFC_INTEGER_4 stride,
   nml->dim[n].lbound = (ssize_t)lbound;
   nml->dim[n].ubound = (ssize_t)ubound;
 }
-
-extern void st_set_nml_var (void * ,char * ,
-                           GFC_INTEGER_4 ,gfc_charlen_type ,GFC_INTEGER_4);
-export_proto(st_set_nml_var);
-
-extern void st_set_nml_var_dim (GFC_INTEGER_4, GFC_INTEGER_4,
-                               GFC_INTEGER_4 ,GFC_INTEGER_4);
-export_proto(st_set_nml_var_dim);
index 8fb62e3..6f64825 100644 (file)
@@ -275,7 +275,7 @@ get_unit (int read_flag)
  * not */
 
 int
-is_internal_unit ()
+is_internal_unit (void)
 {
   return current_unit == &internal_unit;
 }