All of lore.kernel.org
 help / color / mirror / Atom feed
* master - cleanup: clean gcc6 minor/major types warnings
@ 2016-08-29 19:08 Zdenek Kabelac
  0 siblings, 0 replies; 2+ messages in thread
From: Zdenek Kabelac @ 2016-08-29 19:08 UTC (permalink / raw)
  To: lvm-devel

Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=92d5a8441007f578e000b492cecf67d6b8a87405
Commit:        92d5a8441007f578e000b492cecf67d6b8a87405
Parent:        81970d22d8a841c1ea69fde5c9108fc4df3759bd
Author:        Zdenek Kabelac <zkabelac@redhat.com>
AuthorDate:    Thu Aug 18 14:41:46 2016 +0200
Committer:     Zdenek Kabelac <zkabelac@redhat.com>
CommitterDate: Mon Aug 29 20:51:16 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.
---
 lib/filters/filter-sysfs.c |    1 +
 libdm/libdm-stats.c        |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/lib/filters/filter-sysfs.c b/lib/filters/filter-sysfs.c
index 3115f86..6f566bc 100644
--- a/lib/filters/filter-sysfs.c
+++ b/lib/filters/filter-sysfs.c
@@ -17,6 +17,7 @@
 
 #ifdef __linux__
 
+#include <sys/sysmacros.h>
 #include <dirent.h>
 
 static int _locate_sysfs_blocks(const char *sysfs_dir, char *path, size_t len,
diff --git a/libdm/libdm-stats.c b/libdm/libdm-stats.c
index 1c2e19b..6932b28 100644
--- a/libdm/libdm-stats.c
+++ b/libdm/libdm-stats.c
@@ -19,6 +19,7 @@
 
 #include "math.h" /* log10() */
 
+#include <sys/sysmacros.h>
 #include <sys/ioctl.h>
 #include <sys/vfs.h> /* fstatfs */
 



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* master - cleanup: clean gcc6 minor/major types warnings
@ 2016-09-07 14:44 Zdenek Kabelac
  0 siblings, 0 replies; 2+ messages in thread
From: Zdenek Kabelac @ 2016-09-07 14:44 UTC (permalink / raw)
  To: lvm-devel

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>



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-09-07 14:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-29 19:08 master - cleanup: clean gcc6 minor/major types warnings Zdenek Kabelac
2016-09-07 14:44 Zdenek Kabelac

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.