fixed the type of the entity number
[libfirm] / ir / tv / fltcalc.c
index 857650c..7c5d6fd 100644 (file)
 #endif
 
 #ifdef HAVE_INTTYPES_H
-#include <inttypes.h>
+# include <inttypes.h>
+#endif
+#ifdef HAVE_STRING_H
+# include <string.h>
+#endif
+#ifdef HAVE_STDLIB_H
+# include <stdlib.h>
 #endif
-
-#include <string.h>
-#include <stdlib.h>
-#include <stdio.h>
-#include <assert.h>
 #ifdef HAVE_ALLOCA_H
 # include <alloca.h>
 #endif
 #ifdef HAVE_MALLOC_H
 # include <malloc.h>
 #endif
+#include <stdio.h>
+#include <assert.h>
 
 #include "xmalloc.h"
 
@@ -878,7 +881,7 @@ const void *fc_get_buffer(void)
   return calc_buffer;
 }
 
-const int fc_get_buffer_length(void)
+int fc_get_buffer_length(void)
 {
   return calc_buffer_size;
 }