static function prototypes should not be in a header file, because they produce warni...
authortwisti <none@none>
Mon, 7 Jun 2004 10:09:20 +0000 (10:09 +0000)
committertwisti <none@none>
Mon, 7 Jun 2004 10:09:20 +0000 (10:09 +0000)
jit/reg.h
jit/reg.inc
src/vm/jit/reg.h
src/vm/jit/reg.inc

index 70d6c20b0bd2b7c99b98e4582213549188f845d0..078b9562887601750db74eb44e15c5ae2789bc27 100644 (file)
--- a/jit/reg.h
+++ b/jit/reg.h
@@ -27,7 +27,7 @@
 
    Authors: Christian Thalinger
 
-   $Id: reg.h 767 2003-12-13 22:53:49Z twisti $
+   $Id: reg.h 1152 2004-06-07 10:09:20Z twisti $
 
 */
 
@@ -36,6 +36,7 @@
 #define _REG_H
 
 /* global variables */
+
 extern varinfo5 *locals;
 extern varinfo5 *interfaces;
 
@@ -51,10 +52,6 @@ void reg_close();
 void local_init();
 void regalloc();
 
-static void interface_regalloc();
-static void local_regalloc();
-static void allocate_scratch_registers();
-
 #endif /* _REG_H */
 
 
index cd566cd3f7f28e3697bcf87d6ad567d007c80957..d236d349886ba17538c69acc1a88e399bf8e285b 100644 (file)
@@ -30,7 +30,7 @@
    Changes: Stefan Ring
             Christian Thalinger
 
-   $Id: reg.inc 1098 2004-05-27 16:01:29Z twisti $
+   $Id: reg.inc 1152 2004-06-07 10:09:20Z twisti $
 
 */
 
@@ -110,6 +110,12 @@ static int savedregs_num;          /* total number of registers to be saved      */
 int arguments_num;              /* size of parameter field in the stackframe  */
 
 
+/* function prototypes for this file */
+
+static void interface_regalloc();
+static void local_regalloc();
+static void allocate_scratch_registers();
+
 
 /* function reg_init ***********************************************************
 
index 70d6c20b0bd2b7c99b98e4582213549188f845d0..078b9562887601750db74eb44e15c5ae2789bc27 100644 (file)
@@ -27,7 +27,7 @@
 
    Authors: Christian Thalinger
 
-   $Id: reg.h 767 2003-12-13 22:53:49Z twisti $
+   $Id: reg.h 1152 2004-06-07 10:09:20Z twisti $
 
 */
 
@@ -36,6 +36,7 @@
 #define _REG_H
 
 /* global variables */
+
 extern varinfo5 *locals;
 extern varinfo5 *interfaces;
 
@@ -51,10 +52,6 @@ void reg_close();
 void local_init();
 void regalloc();
 
-static void interface_regalloc();
-static void local_regalloc();
-static void allocate_scratch_registers();
-
 #endif /* _REG_H */
 
 
index cd566cd3f7f28e3697bcf87d6ad567d007c80957..d236d349886ba17538c69acc1a88e399bf8e285b 100644 (file)
@@ -30,7 +30,7 @@
    Changes: Stefan Ring
             Christian Thalinger
 
-   $Id: reg.inc 1098 2004-05-27 16:01:29Z twisti $
+   $Id: reg.inc 1152 2004-06-07 10:09:20Z twisti $
 
 */
 
@@ -110,6 +110,12 @@ static int savedregs_num;          /* total number of registers to be saved      */
 int arguments_num;              /* size of parameter field in the stackframe  */
 
 
+/* function prototypes for this file */
+
+static void interface_regalloc();
+static void local_regalloc();
+static void allocate_scratch_registers();
+
 
 /* function reg_init ***********************************************************