summaryrefslogtreecommitdiff
path: root/daemons/lvmpolld
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2018-12-03 18:14:26 +0100
committerZdenek Kabelac <zkabelac@redhat.com>2018-12-14 15:09:13 +0100
commit0b19387dae782b33bb341e58ab3c7ff804ca4f14 (patch)
treea3914adc8ac8141e4380fbe6b20efc7307067030 /daemons/lvmpolld
parent3c377643339be97940554323909d51b12c933f9e (diff)
downloadlvm2-0b19387dae782b33bb341e58ab3c7ff804ca4f14.tar.gz
headers: use configure.h as 1st. header
Ensure configure.h is always 1st. included header. Maybe we could eventually introduce gcc -include option, but for now this better uses dependency tracking. Also move _REENTRANT and _GNU_SOURCE into configure.h so it doesn't need to be present in various source files. This ensures consistent compilation of headers like stdio.h since it may produce different declaration.
Diffstat (limited to 'daemons/lvmpolld')
-rw-r--r--daemons/lvmpolld/lvmpolld-common.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/daemons/lvmpolld/lvmpolld-common.h b/daemons/lvmpolld/lvmpolld-common.h
index 4ada5810b..ccd9b1319 100644
--- a/daemons/lvmpolld/lvmpolld-common.h
+++ b/daemons/lvmpolld/lvmpolld-common.h
@@ -18,8 +18,6 @@
#ifndef _LVM_LVMPOLLD_COMMON_H
#define _LVM_LVMPOLLD_COMMON_H
-#define _REENTRANT
-
#include "tools/tool.h"
#include "lvmpolld-cmd-utils.h"