1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

device_mapper: rename libdevmapper.h -> all.h

I'm paranoid a file will include the global one in /usr/include
by accident.
This commit is contained in:
Joe Thornber 2018-06-08 12:31:45 +01:00
parent 88ae928ca3
commit 286c1ba336
23 changed files with 22 additions and 22 deletions

View File

@ -13,7 +13,7 @@
#define _LVM_CLOG_CLUSTER_H #define _LVM_CLOG_CLUSTER_H
#include "device_mapper/misc/dm-log-userspace.h" #include "device_mapper/misc/dm-log-userspace.h"
#include "device_mapper/libdevmapper.h" #include "device_mapper/all.h"
#define DM_ULOG_RESPONSE 0x1000U /* in last byte of 32-bit value */ #define DM_ULOG_RESPONSE 0x1000U /* in last byte of 32-bit value */
#define DM_ULOG_CHECKPOINT_READY 21 #define DM_ULOG_CHECKPOINT_READY 21

View File

@ -16,7 +16,7 @@
#ifndef LIB_DMCOMMON_H #ifndef LIB_DMCOMMON_H
#define LIB_DMCOMMON_H #define LIB_DMCOMMON_H
#include "libdevmapper.h" #include "device_mapper/all.h"
#define DM_DEFAULT_NAME_MANGLING_MODE_ENV_VAR_NAME "DM_DEFAULT_NAME_MANGLING_MODE" #define DM_DEFAULT_NAME_MANGLING_MODE_ENV_VAR_NAME "DM_DEFAULT_NAME_MANGLING_MODE"

View File

@ -16,7 +16,7 @@
#ifndef _DM_LOGGING_H #ifndef _DM_LOGGING_H
#define _DM_LOGGING_H #define _DM_LOGGING_H
#include "device_mapper/libdevmapper.h" #include "device_mapper/all.h"
extern dm_log_with_errno_fn dm_log_with_errno; extern dm_log_with_errno_fn dm_log_with_errno;

View File

@ -26,7 +26,7 @@
#define _REENTRANT #define _REENTRANT
#define _GNU_SOURCE #define _GNU_SOURCE
#include "device_mapper/libdevmapper.h" #include "device_mapper/all.h"
#include "lib/misc/util.h" #include "lib/misc/util.h"
#include "dm-logging.h" #include "dm-logging.h"

View File

@ -1,7 +1,7 @@
#include "target.h" #include "target.h"
// For DM_ARRAY_SIZE! // For DM_ARRAY_SIZE!
#include "device_mapper/libdevmapper.h" #include "device_mapper/all.h"
#include <ctype.h> #include <ctype.h>
#include <stdlib.h> #include <stdlib.h>

View File

@ -16,7 +16,7 @@
#ifndef _LVM_CONFIG_H #ifndef _LVM_CONFIG_H
#define _LVM_CONFIG_H #define _LVM_CONFIG_H
#include "device_mapper/libdevmapper.h" #include "device_mapper/all.h"
#include "lib/device/device.h" #include "lib/device/device.h"
/* 16 bits: 3 bits for major, 4 bits for minor, 9 bits for patchlevel */ /* 16 bits: 3 bits for major, 4 bits for minor, 9 bits for patchlevel */

View File

@ -15,7 +15,7 @@
#ifndef BCACHE_H #ifndef BCACHE_H
#define BCACHE_H #define BCACHE_H
#include "device_mapper/libdevmapper.h" #include "device_mapper/all.h"
#include <linux/fs.h> #include <linux/fs.h>
#include <stdint.h> #include <stdint.h>

View File

@ -16,7 +16,7 @@
#define _LVM_PV_H #define _LVM_PV_H
#include "lib/uuid/uuid.h" #include "lib/uuid/uuid.h"
#include "device_mapper/libdevmapper.h" #include "device_mapper/all.h"
struct device; struct device;
struct format_type; struct format_type;

View File

@ -16,7 +16,7 @@
#define _LVM_VG_H #define _LVM_VG_H
#include "lib/uuid/uuid.h" #include "lib/uuid/uuid.h"
#include "device_mapper/libdevmapper.h" #include "device_mapper/all.h"
struct cmd_context; struct cmd_context;
struct format_instance; struct format_instance;

View File

@ -79,7 +79,7 @@
#include "lib/misc/intl.h" #include "lib/misc/intl.h"
#include "device_mapper/libdevmapper.h" #include "device_mapper/all.h"
#include "lib/misc/util.h" #include "lib/misc/util.h"
#ifdef DM #ifdef DM

View File

@ -14,7 +14,7 @@
#ifndef _LVM_PROPERTIES_H #ifndef _LVM_PROPERTIES_H
#define _LVM_PROPERTIES_H #define _LVM_PROPERTIES_H
#include "device_mapper/libdevmapper.h" #include "device_mapper/all.h"
#include "lib/metadata/metadata.h" #include "lib/metadata/metadata.h"
#include "lib/report/report.h" #include "lib/report/report.h"
#include "lib/properties/prop_common.h" #include "lib/properties/prop_common.h"

View File

@ -27,7 +27,7 @@
#include <unistd.h> #include <unistd.h>
#include "configure.h" #include "configure.h"
#include "device_mapper/libdevmapper.h" #include "device_mapper/all.h"
//---------------------------------------------------------------- //----------------------------------------------------------------

View File

@ -16,7 +16,7 @@
#include "framework.h" #include "framework.h"
#include "units.h" #include "units.h"
#include "device_mapper/libdevmapper.h" #include "device_mapper/all.h"
//---------------------------------------------------------------- //----------------------------------------------------------------

View File

@ -13,7 +13,7 @@
*/ */
#include "units.h" #include "units.h"
#include "device_mapper/libdevmapper.h" #include "device_mapper/all.h"
enum { enum {
NR_BITS = 137 NR_BITS = 137

View File

@ -13,7 +13,7 @@
*/ */
#include "units.h" #include "units.h"
#include "device_mapper/libdevmapper.h" #include "device_mapper/all.h"
static void *_mem_init(void) static void *_mem_init(void)
{ {

View File

@ -13,7 +13,7 @@
*/ */
#include "units.h" #include "units.h"
#include "device_mapper/libdevmapper.h" #include "device_mapper/all.h"
static void test_dmlist_splice(void *fixture) static void test_dmlist_splice(void *fixture)
{ {

View File

@ -13,7 +13,7 @@
*/ */
#include "units.h" #include "units.h"
#include "device_mapper/libdevmapper.h" #include "device_mapper/all.h"
static void *_mem_init(void) static void *_mem_init(void)
{ {

View File

@ -1,7 +1,7 @@
#ifndef TEST_UNIT_FRAMEWORK_H #ifndef TEST_UNIT_FRAMEWORK_H
#define TEST_UNIT_FRAMEWORK_H #define TEST_UNIT_FRAMEWORK_H
#include "device_mapper/libdevmapper.h" #include "device_mapper/all.h"
#include <stdbool.h> #include <stdbool.h>
#include <stdint.h> #include <stdint.h>

View File

@ -14,7 +14,7 @@
*/ */
#include "units.h" #include "units.h"
#include "device_mapper/libdevmapper.h" #include "device_mapper/all.h"
#include "matcher_data.h" #include "matcher_data.h"

View File

@ -13,7 +13,7 @@
*/ */
#include "units.h" #include "units.h"
#include "device_mapper/libdevmapper.h" #include "device_mapper/all.h"
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>

View File

@ -13,7 +13,7 @@
*/ */
#include "units.h" #include "units.h"
#include "device_mapper/libdevmapper.h" #include "device_mapper/all.h"
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>

View File

@ -24,7 +24,7 @@
#include <unistd.h> #include <unistd.h>
#include "device_mapper/libdevmapper.h" #include "device_mapper/all.h"
#include "lib/misc/util.h" #include "lib/misc/util.h"
#endif /* _LVM_TOOL_H */ #endif /* _LVM_TOOL_H */