diff options
author | joerg <joerg> | 2009-02-05 22:32:57 +0000 |
---|---|---|
committer | joerg <joerg> | 2009-02-05 22:32:57 +0000 |
commit | 637bc24cb1cf0899119079a61b8f16792c3c892e (patch) | |
tree | cc1931fc90f6231474a86866eb99697b9cc4cc58 /net | |
parent | d9a3d74efd206308f2a5177d9001b4b3643f87fd (diff) | |
download | pkgsrc-637bc24cb1cf0899119079a61b8f16792c3c892e.tar.gz |
Mark variables modified from signal handlers as volatile.
Diffstat (limited to 'net')
-rw-r--r-- | net/fetch/files/fetch.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/fetch/files/fetch.c b/net/fetch/files/fetch.c index e2ea957eada..0da7e15f82a 100644 --- a/net/fetch/files/fetch.c +++ b/net/fetch/files/fetch.c @@ -108,9 +108,9 @@ pid_t pgrp; /* our process group */ long w_secs; /* -w: retry delay */ int family = PF_UNSPEC; /* -[46]: address family to use */ -int sigalrm; /* SIGALRM received */ -int siginfo; /* SIGINFO received */ -int sigint; /* SIGINT received */ +volatile int sigalrm; /* SIGALRM received */ +volatile int siginfo; /* SIGINFO received */ +volatile int sigint; /* SIGINT received */ long ftp_timeout; /* default timeout for FTP transfers */ long http_timeout; /* default timeout for HTTP transfers */ |