summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-02-05 23:29:14 +0000
committerjoerg <joerg@pkgsrc.org>2009-02-05 23:29:14 +0000
commit6216f6bf9d3fd034778612309fbb928febb54124 (patch)
tree44a8b8be5b04d1d3cbd9d9132f700e30a6517c87 /net
parent9b190aca9e17f5549721a37e4ba66623ea344187 (diff)
downloadpkgsrc-6216f6bf9d3fd034778612309fbb928febb54124.tar.gz
Need sleep, unbreak: declare fetchRestartCalls as volatile, not extern.
Diffstat (limited to 'net')
-rw-r--r--net/libfetch/files/fetch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/libfetch/files/fetch.c b/net/libfetch/files/fetch.c
index 5a332eb0cae..6339e73337a 100644
--- a/net/libfetch/files/fetch.c
+++ b/net/libfetch/files/fetch.c
@@ -1,4 +1,4 @@
-/* $NetBSD: fetch.c,v 1.17 2009/02/05 23:27:39 joerg Exp $ */
+/* $NetBSD: fetch.c,v 1.18 2009/02/05 23:29:14 joerg Exp $ */
/*-
* Copyright (c) 1998-2004 Dag-Erling Coïdan Smørgrav
* Copyright (c) 2008 Joerg Sonnenberger <joerg@NetBSD.org>
@@ -50,7 +50,7 @@ auth_t fetchAuthMethod;
int fetchLastErrCode;
char fetchLastErrString[MAXERRSTRING];
int fetchTimeout;
-extern volatile int fetchRestartCalls = 1;
+volatile int fetchRestartCalls = 1;
int fetchDebug;