[lasem/lasem-0-4] Reorder functions to avoid implicit declaration of function 'itex2MML_do_html_filter' which is inval



commit b1e7ef7e641f74630ccdbf5c0fe906f45a3784bd
Author: J.H.M. Dassen (Ray) <jdassen debian org>
Date:   Mon Dec 31 22:47:47 2012 +0100

    Reorder functions to avoid implicit declaration of function
    'itex2MML_do_html_filter' which is invalid in C99.

 itex2mml/itex2MML.y |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/itex2mml/itex2MML.y b/itex2mml/itex2MML.y
index 3c47cdd..10d6319 100644
--- a/itex2mml/itex2MML.y
+++ b/itex2mml/itex2MML.y
@@ -1727,16 +1727,6 @@ static void itex2MML_keep_error (const char * msg)
   itex2MML_last_error = itex2MML_copy_escaped (msg);
 }
 
-int itex2MML_html_filter (const char * buffer, unsigned long length)
-{
-  itex2MML_do_html_filter (buffer, length, 0);
-}
-
-int itex2MML_strict_html_filter (const char * buffer, unsigned long length)
-{
-  itex2MML_do_html_filter (buffer, length, 1);
-}
-
 int itex2MML_do_html_filter (const char * buffer, unsigned long length, const int forbid_markup)
 {
   int result = 0;
@@ -1942,3 +1932,13 @@ int itex2MML_do_html_filter (const char * buffer, unsigned long length, const in
 
   return result;
 }
+
+int itex2MML_html_filter (const char * buffer, unsigned long length)
+{
+  itex2MML_do_html_filter (buffer, length, 0);
+}
+
+int itex2MML_strict_html_filter (const char * buffer, unsigned long length)
+{
+  itex2MML_do_html_filter (buffer, length, 1);
+}



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