summaryrefslogtreecommitdiff
path: root/math/foma/files/patch-iface.c
blob: ae3e2fb4a923d00d9d97e6716ba05bc96db66f41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- iface.c.orig	2012-08-10 19:40:14.000000000 +0400
+++ iface.c	2014-05-07 18:17:01.000000000 +0400
@@ -47,7 +46,7 @@
 extern int g_med_cutoff ;
 extern char *g_att_epsilon;
 
-extern int foma_net_print(struct fsm *net, gzFile *outfile);
+extern int foma_net_print(struct fsm *net, gzFile outfile);
 
 static char *sigptr(struct sigma *sigma, int number);
 static int print_dot(struct fsm *net, char *filename);
@@ -999,7 +998,7 @@
 }
 
 void iface_save_stack(char *filename) {
-    gzFile *outfile;
+    gzFile outfile;
     struct stack_entry *stack_ptr;
 
     if (iface_stack_check(1)) {