Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37551414
en ru br
ALT Linux repos
S:0.6.1-alt2
5.0: 0.6-alt1
4.1: 0.6-alt1
4.0: 0.6-alt1

Group :: Networking/WWW
RPM: wput

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: wput-0.6.1-alt-fno-common.patch
Download


diff --git a/wput/src/wput.c b/wput/src/wput.c
index 167693f..c18a017 100644
--- a/wput/src/wput.c
+++ b/wput/src/wput.c
@@ -56,6 +56,8 @@
 
 extern char *optarg;
 
+struct global_options opt;
+
 #ifdef WIN32
 const static char * version = "0.6.1-w32";
 #else
diff --git a/wput/src/wput.h b/wput/src/wput.h
index 968d32a..1ef5c8e 100644
--- a/wput/src/wput.h
+++ b/wput/src/wput.h
@@ -132,7 +132,9 @@ struct global_options {
 
   unsigned short int retry_interval;
   unsigned       int speed_limit;
-} opt;
+};
+
+extern struct global_options opt;
 
 extern _fsession * fsession_queue_entry_point;
 extern char * email_address;
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin