From fe4d4dea13b680d18968741c0d7bcc9d7cf30efc Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Thu, 18 Sep 2008 09:15:44 +0000
Subject: [PATCH] fix proto

---
 Fltk/GUI_Extras.cpp | 2 +-
 Fltk/GmshServer.h   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Fltk/GUI_Extras.cpp b/Fltk/GUI_Extras.cpp
index 95519dec1f..5bc98c3f0e 100644
--- a/Fltk/GUI_Extras.cpp
+++ b/Fltk/GUI_Extras.cpp
@@ -1567,7 +1567,7 @@ int cgns_write_dialog(const char *filename)
 
 #else
 
-int cgns_write_dialog(const char *const name)
+int cgns_write_dialog(const char *filename)
 {
   CreateOutputFile(name, FORMAT_CGNS);
   return 1;
diff --git a/Fltk/GmshServer.h b/Fltk/GmshServer.h
index 87eef0e5c7..8bb5781fa1 100644
--- a/Fltk/GmshServer.h
+++ b/Fltk/GmshServer.h
@@ -6,7 +6,7 @@
 #ifndef _GMSH_SERVER_H_
 #define _GMSH_SERVER_H_
 
-void SystemCall(const char *str);
+int SystemCall(const char *str);
 int WaitForData(int socket, int num, double waitint);
 
 #include <stdio.h>
-- 
GitLab