aboutsummaryrefslogtreecommitdiff
path: root/signal/tst-sigsimple.c
diff options
context:
space:
mode:
Diffstat (limited to 'signal/tst-sigsimple.c')
-rw-r--r--signal/tst-sigsimple.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/signal/tst-sigsimple.c b/signal/tst-sigsimple.c
index d0e6b2f..5620234 100644
--- a/signal/tst-sigsimple.c
+++ b/signal/tst-sigsimple.c
@@ -20,7 +20,10 @@
#include <signal.h>
#include <stdio.h>
#include <string.h>
+#include <libc-diag.h>
+/* The sighold and sigrelse functions are deprecated. */
+DIAG_IGNORE_NEEDS_COMMENT (4.9, "-Wdeprecated-declarations");
static int
do_test (void)