]> Pileus Git - ~andy/rsl/blobdiff - examples/sector.c
RSL v1.41
[~andy/rsl] / examples / sector.c
index f1655ce6dd1db0647ddcc548df37b04aaab0a4a2..a1527457c5adbf0bb38649bb6610104acb1f1950 100644 (file)
@@ -1,4 +1,5 @@
 #include <stdio.h>
+#include <stdlib.h>
 #include "rsl.h"
 
 /*
@@ -84,7 +85,7 @@ Sweep * get_sector(Sweep *s, float lo_azimuth, float hi_azimuth)
 }
 
 
-void main(int argc, char **argv)
+int main(int argc, char **argv)
 {
   Radar *radar;
   Sweep *sector;