From: Jackie Liu <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: [PATCH liburing 2/3] Avoid redefined warning of "SIGSTKSZ"
Date: Wed, 20 Nov 2019 11:14:21 +0800 [thread overview]
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
ucontext-cp.c:24:0: warning: "SIGSTKSZ" redefined
#define SIGSTKSZ 8192
In file included from /usr/include/signal.h:316:0,
from ucontext-cp.c:13:
/usr/include/aarch64-linux-gnu/bits/sigstack.h:30:0: note: this is the location of the previous definition
#define SIGSTKSZ 16384
Signed-off-by: Jackie Liu <[email protected]>
---
examples/ucontext-cp.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/examples/ucontext-cp.c b/examples/ucontext-cp.c
index 3e95b15..d521e94 100644
--- a/examples/ucontext-cp.c
+++ b/examples/ucontext-cp.c
@@ -21,7 +21,9 @@
#define QD 64
#define BS 1024
+#ifndef SIGSTKSZ
#define SIGSTKSZ 8192
+#endif
typedef struct {
struct io_uring *ring;
--
2.17.1
next prev parent reply other threads:[~2019-11-20 3:14 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-20 3:14 [PATCH liburing 1/3] mktemp is dangerous, better use mkostemp Jackie Liu
2019-11-20 3:14 ` Jackie Liu [this message]
2019-11-20 3:14 ` [PATCH liburing 3/3] built liburing.so and test binary first when runtests Jackie Liu
2019-11-20 3:36 ` [PATCH liburing 1/3] mktemp is dangerous, better use mkostemp Jens Axboe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox