linux-trace-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Tzvetomir Stoyanov (VMware)" <tz.stoyanov@gmail.com>
To: y.karadz@gmail.com
Cc: linux-trace-devel@vger.kernel.org
Subject: [PATCH 1/3] trace-cruncher: Add define for bool type
Date: Tue,  3 May 2022 09:48:55 +0300	[thread overview]
Message-ID: <20220503064857.260937-2-tz.stoyanov@gmail.com> (raw)
In-Reply-To: <20220503064857.260937-1-tz.stoyanov@gmail.com>

The logic for resolving function name to address uses bool type, which
is defined in stdbool.h header file. Add explicitly include to this
file.

Signed-off-by: Tzvetomir Stoyanov (VMware) <tz.stoyanov@gmail.com>
---
 src/trace-obj-debug.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/trace-obj-debug.c b/src/trace-obj-debug.c
index 0e0e293..3ce3b54 100644
--- a/src/trace-obj-debug.c
+++ b/src/trace-obj-debug.c
@@ -11,6 +11,7 @@
 
 #include <stdlib.h>
 #include <stdio.h>
+#include <stdbool.h>
 #include <string.h>
 #include <limits.h>
 #include <errno.h>
-- 
2.35.1


  reply	other threads:[~2022-05-03  6:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-03  6:48 [PATCH 0/3] trace-cruncher: Small fixes Tzvetomir Stoyanov (VMware)
2022-05-03  6:48 ` Tzvetomir Stoyanov (VMware) [this message]
2022-05-03  6:48 ` [PATCH 2/3] trace-cruncher: Update github workflows Tzvetomir Stoyanov (VMware)
2022-05-03  9:25   ` Yordan Karadzhov
2022-05-03  6:48 ` [PATCH 3/3] trace-cruncher: Add object files to gitignore Tzvetomir Stoyanov (VMware)

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=20220503064857.260937-2-tz.stoyanov@gmail.com \
    --to=tz.stoyanov@gmail.com \
    --cc=linux-trace-devel@vger.kernel.org \
    --cc=y.karadz@gmail.com \
    /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;
as well as URLs for NNTP newsgroup(s).