* reader.c (copy_string): Declared `static inline'. No problems
authorAkim Demaille <akim@epita.fr>
Fri, 17 Mar 2000 11:36:31 +0000 (11:36 +0000)
committerAkim Demaille <akim@epita.fr>
Fri, 17 Mar 2000 11:36:31 +0000 (11:36 +0000)
with inline, since it is checked by configure.
(copy_comment): Likewise.

ChangeLog
src/reader.c

index 66a4bfc..31b533a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2000-03-17  Akim Demaille  <akim@epita.fr>
 
+       * reader.c (copy_string): Declared `static inline'.  No problems
+       with inline, since it is checked by configure.
+       (copy_comment): Likewise.
+
+2000-03-17  Akim Demaille  <akim@epita.fr>
+
        * reader.c (packsymbols): Formatting changes.
 
 2000-03-17  Akim Demaille  <akim@epita.fr>
index 11f4add..5e585e1 100644 (file)
@@ -992,7 +992,7 @@ get_type_name (int n, symbol_list *rule)
 /* Dump the string from FINPUT to FOUTPUT.  MATCH is the delimiter of
    the string (either ' or ").  */
 
-void
+static inline void
 copy_string (FILE *finput, FILE *foutput, int match)
 {
   int c;
@@ -1034,7 +1034,7 @@ copy_string (FILE *finput, FILE *foutput, int match)
 /* Dump the comment from FINPUT to FOUTPUT.  C is either `*' or `/',
    depending upon the type of comments used.  */
 
-void
+static inline void
 copy_comment (FILE *finput, FILE *foutput, int c)
 {
   int cplus_comment;