From: "Mike Frysinger" <vapier@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sandbox:master commit in: src/
Date: Thu, 28 Oct 2021 09:56:41 +0000 (UTC) [thread overview]
Message-ID: <1635414683.e9a45d1832ba36acd11bf4c8fa57b576f87d17c5.vapier@gentoo> (raw)
commit: e9a45d1832ba36acd11bf4c8fa57b576f87d17c5
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 28 09:51:23 2021 +0000
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Thu Oct 28 09:51:23 2021 +0000
URL: https://gitweb.gentoo.org/proj/sandbox.git/commit/?id=e9a45d18
sandbox: undefine dprintf
The C library has a dprintf function too, and it might be a define
that clashes with ours, so undefine it to avoid warnings.
Signed-off-by: Mike Frysinger <vapier <AT> gentoo.org>
src/sandbox.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/sandbox.c b/src/sandbox.c
index d74abd9..6cd5f38 100644
--- a/src/sandbox.c
+++ b/src/sandbox.c
@@ -15,6 +15,9 @@
#include "sbutil.h"
#include "sandbox.h"
+/* The C library might have a macro for this. */
+#undef dprintf
+
static int print_debug = 0;
#define dprintf(fmt, args...) do { if (print_debug) printf(fmt, ## args); } while (0)
#define dputs(str) do { if (print_debug) puts(str); } while (0)
next reply other threads:[~2021-10-28 9:56 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-28 9:56 Mike Frysinger [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-08-08 15:30 [gentoo-commits] proj/sandbox:master commit in: src/ Mike Gilbert
2023-08-05 23:38 Mike Gilbert
2023-08-05 23:38 Mike Gilbert
2021-11-05 10:25 Mike Frysinger
2021-11-05 10:25 Mike Frysinger
2021-11-03 4:55 Mike Frysinger
2021-11-02 4:28 Mike Frysinger
2021-11-02 4:28 Mike Frysinger
2021-11-01 18:31 Mike Frysinger
2021-10-29 5:37 Mike Frysinger
2016-03-29 12:24 Mike Frysinger
2015-09-11 7:53 Mike Frysinger
2015-09-11 7:53 Mike Frysinger
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 \
--in-reply-to=1635414683.e9a45d1832ba36acd11bf4c8fa57b576f87d17c5.vapier@gentoo \
--to=vapier@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/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