summaryrefslogtreecommitdiff
path: root/lib/nanosleep.c
diff options
context:
space:
mode:
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;