From: Zdenek Kabelac <zkabelac@fedoraproject.org>
To: lvm-devel@redhat.com
Subject: master - cleanup: clean gcc6 minor/major types warnings
Date: Wed, 7 Sep 2016 14:44:15 +0000 (UTC) [thread overview]
Message-ID: <20160907144415.4B59B60734@fedorahosted.org> (raw)
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=6064a5084e2a71db389b1bdf06c05765610295d9
Commit: 6064a5084e2a71db389b1bdf06c05765610295d9
Parent: 5838c41a356eec05218395e734b90d21487f271c
Author: Zdenek Kabelac <zkabelac@redhat.com>
AuthorDate: Wed Sep 7 15:13:48 2016 +0200
Committer: Zdenek Kabelac <zkabelac@redhat.com>
CommitterDate: Wed Sep 7 16:42:34 2016 +0200
cleanup: clean gcc6 minor/major types warnings
Put sys/sysmacros.h in front of sys/types.h header file as requested
by gcc6 part II.
---
daemons/cmirrord/functions.c | 1 +
.../dmeventd/plugins/snapshot/dmeventd_snapshot.c | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/daemons/cmirrord/functions.c b/daemons/cmirrord/functions.c
index 757d8e8..5e50b8a 100644
--- a/daemons/cmirrord/functions.c
+++ b/daemons/cmirrord/functions.c
@@ -12,6 +12,7 @@
#include "logging.h"
#include "functions.h"
+#include <sys/sysmacros.h>
#include <dirent.h>
#include <errno.h>
#include <fcntl.h>
diff --git a/daemons/dmeventd/plugins/snapshot/dmeventd_snapshot.c b/daemons/dmeventd/plugins/snapshot/dmeventd_snapshot.c
index 7b060ed..a70d07c 100644
--- a/daemons/dmeventd/plugins/snapshot/dmeventd_snapshot.c
+++ b/daemons/dmeventd/plugins/snapshot/dmeventd_snapshot.c
@@ -16,6 +16,7 @@
#include "dmeventd_lvm.h"
#include "libdevmapper-event.h"
+#include <sys/sysmacros.h>
#include <sys/wait.h>
#include <stdarg.h>
#include <pthread.h>
next reply other threads:[~2016-09-07 14:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-07 14:44 Zdenek Kabelac [this message]
-- strict thread matches above, loose matches on Subject: below --
2016-08-29 19:08 master - cleanup: clean gcc6 minor/major types warnings Zdenek Kabelac
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=20160907144415.4B59B60734@fedorahosted.org \
--to=zkabelac@fedoraproject.org \
--cc=lvm-devel@redhat.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.