aboutsummaryrefslogtreecommitdiff
blob: cd9f6ba49ad8ec057c495bb87f570189d24baeaa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
--- src/frontend/control.c.old	2004-12-29 13:53:16.012519944 +0000
+++ src/frontend/control.c	2004-12-29 13:53:17.683265952 +0000
@@ -818,6 +818,17 @@
     return (0); /* va: which value? */
 }
 
+/* va: This totally frees the control structures */
+void cp_free_control(void) 
+{
+    int i;
+    
+    for (i=stackp; i>=0; i--) ctl_free(control[i]);
+    
+    control[0] = cend[0] = NULL;
+    stackp = 0;
+}
+
 /* This blows away the control structures... */
 void
 cp_resetcontrol(void)
@@ -878,16 +889,3 @@
             cend[stackp] = cend[stackp]->co_parent;
     return;
 }
-
-
-/* va: This totally frees the control structures */
-void cp_free_control(void) 
-{
-    int i;
-    
-    for (i=stackp; i>=0; i--) ctl_free(control[i]);
-    
-    control[0] = cend[0] = NULL;
-    stackp = 0;
-}
-