summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/libfetch/Makefile4
-rw-r--r--net/libfetch/files/fetch.c4
-rw-r--r--net/libfetch/files/fetch.h4
3 files changed, 6 insertions, 6 deletions
diff --git a/net/libfetch/Makefile b/net/libfetch/Makefile
index 337ed723529..491f1f1d72f 100644
--- a/net/libfetch/Makefile
+++ b/net/libfetch/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.24 2009/02/05 16:59:45 joerg Exp $
+# $NetBSD: Makefile,v 1.25 2009/02/05 22:45:25 joerg Exp $
#
-DISTNAME= libfetch-2.21
+DISTNAME= libfetch-2.22
CATEGORIES= net
MASTER_SITES= # empty
DISTFILES= # empty
diff --git a/net/libfetch/files/fetch.c b/net/libfetch/files/fetch.c
index 519a5b5ef80..4d72a7f5194 100644
--- a/net/libfetch/files/fetch.c
+++ b/net/libfetch/files/fetch.c
@@ -1,4 +1,4 @@
-/* $NetBSD: fetch.c,v 1.15 2008/11/04 16:14:24 joerg Exp $ */
+/* $NetBSD: fetch.c,v 1.16 2009/02/05 22:45:25 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;
-int fetchRestartCalls = 1;
+extern int fetchRestartCalls = 1;
int fetchDebug;
diff --git a/net/libfetch/files/fetch.h b/net/libfetch/files/fetch.h
index 6ad8063afbd..c045ddcd9fb 100644
--- a/net/libfetch/files/fetch.h
+++ b/net/libfetch/files/fetch.h
@@ -1,4 +1,4 @@
-/* $NetBSD: fetch.h,v 1.13 2009/02/05 16:59:45 joerg Exp $ */
+/* $NetBSD: fetch.h,v 1.14 2009/02/05 22:45:25 joerg Exp $ */
/*-
* Copyright (c) 1998-2004 Dag-Erling Coïdan Smørgrav
* All rights reserved.
@@ -170,7 +170,7 @@ extern char fetchLastErrString[MAXERRSTRING];
extern int fetchTimeout;
/* Restart interrupted syscalls */
-extern int fetchRestartCalls;
+extern volatile int fetchRestartCalls;
/* Extra verbosity */
extern int fetchDebug;