]> Pileus Git - ~andy/rsl/blobdiff - examples/sector.c
Fix more errors
[~andy/rsl] / examples / sector.c
index a1527457c5adbf0bb38649bb6610104acb1f1950..017340b9c7b24e03b489b0b8636d0348d21ea760 100644 (file)
@@ -39,6 +39,7 @@ void print_hash_table (Sweep *s)
   Azimuth_hash *index;
   float azim;
   float res;
+  int SWEEP_INDEX(Sweep *s); // From Volume.c
 
   if (s == NULL) return;
   sweep_index = SWEEP_INDEX(s);
@@ -60,7 +61,6 @@ Sweep * get_sector(Sweep *s, float lo_azimuth, float hi_azimuth)
 {
   int   i, j;
   Sweep *new_sweep;
-  Ray   *saved_ray;
 
   if (s == NULL) return NULL;