summaryrefslogtreecommitdiff
path: root/ftp/wput/files/patch-src_wput.h
blob: 11bef1f84709f791c23219723abb57454aa33160 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- src/wput.h.orig	2008-09-27 10:31:23 UTC
+++ src/wput.h
@@ -79,7 +79,7 @@ typedef struct _password_list {
   struct _password_list * next;
 } password_list;
 
-struct global_options {
+typedef struct global_options {
   char * sbuf;
   int sbuflen;
   unsigned int bindaddr;
@@ -140,7 +140,9 @@ struct global_options {
 
   unsigned short int retry_interval;
   unsigned       int speed_limit;
-} opt;
+} opt_t;
+
+extern opt_t opt;
 
 extern _fsession * fsession_queue_entry_point;
 extern char * email_address;