[lasem/lasem-0-4] Use proper prototype for parameter-less function itex2MML_restart()



commit 88ada1884cf19c318b28418ef84ff175a899be7f
Author: J.H.M. Dassen (Ray) <jdassen debian org>
Date:   Tue Jan 1 13:13:20 2013 +0100

    Use proper prototype for parameter-less function itex2MML_restart()

 itex2mml/itex2MML.h |    2 +-
 itex2mml/itex2MML.l |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/itex2mml/itex2MML.h b/itex2mml/itex2MML.h
index 37c2215..bb5ea68 100644
--- a/itex2mml/itex2MML.h
+++ b/itex2mml/itex2MML.h
@@ -41,7 +41,7 @@ extern "C" {
    */
   extern void   itex2MML_setup (const char * buffer, unsigned long length);
 
-  extern void   itex2MML_restart ();
+  extern void   itex2MML_restart (void);
 
   extern char * itex2MML_copy_string (const char * str);
   extern char * itex2MML_copy_string_extra (const char * str, unsigned extra);
diff --git a/itex2mml/itex2MML.l b/itex2mml/itex2MML.l
index 15c6b85..f2e2a10 100644
--- a/itex2mml/itex2MML.l
+++ b/itex2mml/itex2MML.l
@@ -1041,7 +1041,7 @@ int itex2MML_displaymode = 0;
 
 %%
 
-void itex2MML_restart ()
+void itex2MML_restart (void)
 {
 	BEGIN(INITIAL);
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]