comparison Meerwald/gen_cox_sig.c @ 8:f83ef905a63d

fixing many warnings increase capacity for coordinates in bruyn fix some uninit. variables
author Peter Meerwald <pmeerw@cosy.sbg.ac.at>
date Tue, 22 Apr 2008 13:36:05 +0200
parents be303a3f5ea8
children 4987db85cfae
comparison
equal deleted inserted replaced
7:2b350281f8b0 8:f83ef905a63d
21 21
22 char output_name[MAXPATHLEN] = "(stdout)"; 22 char output_name[MAXPATHLEN] = "(stdout)";
23 char signature_name[MAXPATHLEN]; 23 char signature_name[MAXPATHLEN];
24 24
25 int c; 25 int c;
26 int i;
27 int n = 100; 26 int n = 100;
28 int s = 0; 27 int s = 0;
29 double a = 0.3; 28 double a = 0.3;
30 double m = 0.0; 29 double m = 0.0;
31 double d = 1.0; 30 double d = 1.0;
113 } 112 }
114 else { 113 else {
115 fprintf(stderr, "%s: invalid signature file %s\n", progname, signature_name); 114 fprintf(stderr, "%s: invalid signature file %s\n", progname, signature_name);
116 exit(1); 115 exit(1);
117 } 116 }
118 close(sig); 117 fclose(sig);
119 } 118 }
120 119
121 if (s) 120 if (s)
122 srandom(s); 121 srandom(s);
123 else 122 else

Repositories maintained by Peter Meerwald, pmeerw@pmeerw.net.