pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/libfetch/files Need sleep, unbreak: declare fetchR...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b9d2935d2801
branches:  trunk
changeset: 554001:b9d2935d2801
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Feb 05 23:29:14 2009 +0000

description:
Need sleep, unbreak: declare fetchRestartCalls as volatile, not extern.

diffstat:

 net/libfetch/files/fetch.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 70556c9dc089 -r b9d2935d2801 net/libfetch/files/fetch.c
--- a/net/libfetch/files/fetch.c        Thu Feb 05 23:27:39 2009 +0000
+++ b/net/libfetch/files/fetch.c        Thu Feb 05 23:29:14 2009 +0000
@@ -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@localhost>
@@ -50,7 +50,7 @@
 int     fetchLastErrCode;
 char    fetchLastErrString[MAXERRSTRING];
 int     fetchTimeout;
-extern volatile int     fetchRestartCalls = 1;
+volatile int    fetchRestartCalls = 1;
 int     fetchDebug;
 
 



Home | Main Index | Thread Index | Old Index