------- Additional Comments From uweigand at gcc dot gnu dot org  2005-06-14 
10:36 -------
A change like this:

 static void
+eoshift0 (gfc_array_char * , const gfc_array_char *,
+         int, const char *, int);
+
+static void
 eoshift0 (gfc_array_char * ret, const gfc_array_char * array,
          int shift, const char * pbound, int which)

doesn't have any effect, since a function definition in non-K&R
style already provides prototype information to subsequent code,
same as a function declaration does.  (A declaration is useful
and required at places where the function definition is *not*
already seen.)

In fact, I thought that since we require C89 for the C parts of
the compiler, the coding style recommends *not* providing such
superfluous declarations ...


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21594

Reply via email to