From: "Carlo Marcelo Arenas Belón" <carenas@gmail.com>
To: git@vger.kernel.org
Cc: jeffhost@microsoft.com, "Carlo Marcelo Arenas Belón" <carenas@gmail.com>
Subject: [PATCH 1/2] fixup! fsmonitor-ipc: create client routines for git-fsmonitor--daemon
Date: Sun, 8 Aug 2021 23:30:03 -0700 [thread overview]
Message-ID: <20210809063004.73736-2-carenas@gmail.com> (raw)
In-Reply-To: <20210809063004.73736-1-carenas@gmail.com>
fsmonitor: ensure enum ipc_active_state is defined before using
In file included from fsmonitor.c:6:
fsmonitor-ipc.h:23:6: error: ISO C forbids forward references to 'enum' types [-Werror=pedantic]
23 | enum ipc_active_state fsmonitor_ipc__get_state(void);
| ^~~~~~~~~~~~~~~~
In file included from t/helper/test-fsmonitor-client.c:9:
./fsmonitor-ipc.h:23:6: warning: ISO C forbids forward references to 'enum' types [-Wpedantic]
enum ipc_active_state fsmonitor_ipc__get_state(void);
^
Signed-off-by: Carlo Marcelo Arenas Belón <carenas@gmail.com>
---
fsmonitor-ipc.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/fsmonitor-ipc.h b/fsmonitor-ipc.h
index 837c5e5b64..7e02c7285a 100644
--- a/fsmonitor-ipc.h
+++ b/fsmonitor-ipc.h
@@ -1,6 +1,8 @@
#ifndef FSMONITOR_IPC_H
#define FSMONITOR_IPC_H
+#include "simple-ipc.h"
+
/*
* Returns true if built-in file system monitor daemon is defined
* for this platform.
--
2.33.0.rc1.373.gc715f1a457
next prev parent reply other threads:[~2021-08-09 6:30 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-09 6:30 [PATCH 0/2] fsmonitor: fixup to avoid warnings from pedantic Carlo Marcelo Arenas Belón
2021-08-09 6:30 ` Carlo Marcelo Arenas Belón [this message]
2021-08-09 6:30 ` [PATCH 2/2] fixup! fsmonitor--daemon: implement handle_client callback Carlo Marcelo Arenas Belón
2021-08-09 7:25 ` [PATCH] test-path-utils: use a C89 compatible format for double printf Carlo Marcelo Arenas Belón
2021-08-09 14:34 ` [PATCH 0/2] fsmonitor: fixup to avoid warnings from pedantic Jeff Hostetler
2021-08-09 16:49 ` Junio C Hamano
2021-08-10 5:49 ` Carlo Arenas
2021-08-10 13:52 ` Jeff Hostetler
2021-08-10 13:41 ` Jeff Hostetler
2021-08-27 5:37 ` Junio C Hamano
2021-08-27 6:04 ` Carlo Arenas
2021-08-27 17:11 ` Junio C Hamano
2021-08-28 9:45 ` Carlo Arenas
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
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210809063004.73736-2-carenas@gmail.com \
--to=carenas@gmail.com \
--cc=git@vger.kernel.org \
--cc=jeffhost@microsoft.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.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).