File: 100_gsat_globals_h.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 (30 lines) | stat: -rw-r--r-- 865 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
23
24
25
26
27
28
29
30
Index: predict-2.2.3/clients/gsat-1.1.0/src/globals.h
===================================================================
--- predict-2.2.3.orig/clients/gsat-1.1.0/src/globals.h	2009-11-14 10:35:56.000000000 -0500
+++ predict-2.2.3/clients/gsat-1.1.0/src/globals.h	2009-11-14 10:36:55.000000000 -0500
@@ -20,13 +20,15 @@
  * Look at the README for more information on the program.
  */
 
+#include <errno.h>
+
 /* Global definitions */
 
 #define GSATVERSION "1.1.0"
 #define WINTITLE(VERS)  "gsat #VERS: Real-Time Satellite Tracking Display"
 
 #ifndef GSATLIBDIR
-#define GSATLIBDIR "/usr/local/lib/gsat"
+#define GSATLIBDIR "/usr/lib/gsat"
 #endif
 
 #define MAXPLUGINS 20
@@ -55,8 +57,6 @@
 /* Maximum number of dots for drawing az/el graphic */
 #define AZELMAXDOTS AZELSIZEX*2
 
-int errno;
-
 /* Network parameters */
 char *predicthost;
 char *predictport;