File: 050_map_main_c.diff

package info (click to toggle)
predict 2.2.3-4
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 4,712 kB
  • ctags: 1,623
  • sloc: ansic: 19,433; sh: 3,518; makefile: 429; yacc: 318; perl: 82
file content (22 lines) | stat: -rw-r--r-- 672 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Index: predict-2.2.3/clients/map/map_main.c
===================================================================
--- predict-2.2.3.orig/clients/map/map_main.c	2009-11-14 09:45:50.000000000 -0500
+++ predict-2.2.3/clients/map/map_main.c	2009-11-14 09:47:15.000000000 -0500
@@ -19,6 +19,8 @@
 #include "forms.h"
 #include "map.h"
 #include <sys/timeb.h>
+#include <unistd.h>
+#include <stdlib.h>
 
 extern int connectsock();
 extern void handler();
@@ -29,7 +31,7 @@
 int main(int argc, char *argv[])
 {
 	int i, skt, x, y, z;
-	char cmd[16], bufr[625], satnamelist[26][26];
+	char bufr[625], satnamelist[26][26];
 	const char *ptrsat;
 	FD_map *fd_map;
 	struct timeb tptr;