From 417b87a0a0a34e343fd1c58cd7026c96628b34bd Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Sat, 25 Mar 2023 05:37:57 +0800 Subject: [PATCH] testing/ostest: Remove the unreal used SIG_WAITCANCEL Signed-off-by: Xiang Xiao --- testing/ostest/cancel.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/testing/ostest/cancel.c b/testing/ostest/cancel.c index c5b212c3f..1db31c073 100644 --- a/testing/ostest/cancel.c +++ b/testing/ostest/cancel.c @@ -36,12 +36,6 @@ #include "ostest.h" -/**************************************************************************** - * Preprocessor definitions - ****************************************************************************/ - -#define SIG_WAITCANCEL 27 - /**************************************************************************** * Private Data ****************************************************************************/ @@ -234,7 +228,7 @@ static FAR void *sig_waiter(FAR void *parameter) /* Wait for a signal that will never be delivered */ - printf("sig_waiter: Waiting to receive signal %d ...\n", SIG_WAITCANCEL); + printf("sig_waiter: Waiting to receive signal...\n"); sigemptyset(&set); ret = sigwaitinfo(&set, &info);