summaryrefslogtreecommitdiff
path: root/lib/nanosleep.c
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2021-03-05 10:08:25 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2021-03-05 10:08:25 +0900
commit0600edaa5c1a04547bd6b1e0431660d6833074cd (patch)
treed099efc896b831b1046baf83d8ba3edb60c6e65c /lib/nanosleep.c
parent4a9ac8023543db82c39c3db6138a8e8582f51797 (diff)
downloadwget-upstream/1.20.2.tar.gz
wget-upstream/1.20.2.tar.bz2
wget-upstream/1.20.2.zip
Imported Upstream version 1.20.2upstream/1.20.2
Diffstat (limited to 'lib/nanosleep.c')
-rw-r--r--lib/nanosleep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/nanosleep.c b/lib/nanosleep.c
index 2cc3909..3150ff9 100644
--- a/lib/nanosleep.c
+++ b/lib/nanosleep.c
@@ -1,6 +1,6 @@
/* Provide a replacement for the POSIX nanosleep function.
- Copyright (C) 1999-2000, 2002, 2004-2018 Free Software Foundation, Inc.
+ Copyright (C) 1999-2000, 2002, 2004-2019 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -194,7 +194,7 @@ static sig_atomic_t volatile suspended;
/* Handle SIGCONT. */
-static void
+static _GL_ASYNC_SAFE void
sighandler (int sig)
{
suspended = 1;