From dacd4832521b3202274b17d1134c354d7f5d3c36 Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Fri, 4 Jun 2004 18:42:10 +0000
Subject: [PATCH] change force_buffer_flush prototype

---
 MathEval/parser.cpp  | 2 +-
 MathEval/parser.y    | 2 +-
 MathEval/scanner.cpp | 4 ++--
 MathEval/scanner.l   | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/MathEval/parser.cpp b/MathEval/parser.cpp
index 8944f5f000..fd98a05e93 100644
--- a/MathEval/parser.cpp
+++ b/MathEval/parser.cpp
@@ -58,7 +58,7 @@ int yylex (void);
    prematurely (i.e., in case of a parse error) so that the next time
    we call the scanner, all is nicely reset. Without this, the
    behaviour of the next call after an error is unpredictable.  */
-int force_buffer_flush(void);
+void force_buffer_flush(void);
 
 
 #line 48 "parser.y"
diff --git a/MathEval/parser.y b/MathEval/parser.y
index 10db82c2c7..9b5817bf81 100644
--- a/MathEval/parser.y
+++ b/MathEval/parser.y
@@ -40,7 +40,7 @@ int yylex (void);
    prematurely (i.e., in case of a parse error) so that the next time
    we call the scanner, all is nicely reset. Without this, the
    behaviour of the next call after an error is unpredictable.  */
-int force_buffer_flush(void);
+void force_buffer_flush(void);
 
 %}
 
diff --git a/MathEval/scanner.cpp b/MathEval/scanner.cpp
index 004b773591..16a02842f8 100644
--- a/MathEval/scanner.cpp
+++ b/MathEval/scanner.cpp
@@ -20,7 +20,7 @@
 /* A lexical scanner generated by flex */
 
 /* Scanner skeleton version:
- * $Header: /cvsroot/gmsh/MathEval/scanner.cpp,v 1.4 2004-05-12 18:57:48 geuzaine Exp $
+ * $Header: /cvsroot/gmsh/MathEval/scanner.cpp,v 1.5 2004-06-04 18:42:10 geuzaine Exp $
  */
 
 #define FLEX_SCANNER
@@ -1705,4 +1705,4 @@ static int input_from_string (char *buffer, int max_size)
   return count;
 }
 
-int force_buffer_flush() { YY_FLUSH_BUFFER; }
+void force_buffer_flush() { YY_FLUSH_BUFFER; }
diff --git a/MathEval/scanner.l b/MathEval/scanner.l
index b060e2b5e1..bbf69df548 100644
--- a/MathEval/scanner.l
+++ b/MathEval/scanner.l
@@ -125,4 +125,4 @@ static int input_from_string (char *buffer, int max_size)
   return count;
 }
 
-int force_buffer_flush() { YY_FLUSH_BUFFER; }
+void force_buffer_flush() { YY_FLUSH_BUFFER; }
-- 
GitLab