From 4dc58e7c764829fac17f2affe3c8b8ec8decaa87 Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Fri, 17 Mar 2000 11:36:31 +0000 Subject: [PATCH] * reader.c (copy_string): Declared `static inline'. No problems with inline, since it is checked by configure. (copy_comment): Likewise. --- ChangeLog | 6 ++++++ src/reader.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 66a4bfc..31b533a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2000-03-17 Akim Demaille + * 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 + * reader.c (packsymbols): Formatting changes. 2000-03-17 Akim Demaille diff --git a/src/reader.c b/src/reader.c index 11f4add..5e585e1 100644 --- a/src/reader.c +++ b/src/reader.c @@ -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; -- 2.7.4