summaryrefslogtreecommitdiff
path: root/device_mapper/all.h
diff options
context:
space:
mode:
authorJoe Thornber <ejt@redhat.com>2018-06-08 13:44:43 +0100
committerJoe Thornber <ejt@redhat.com>2018-06-08 13:44:43 +0100
commit962a3eb3faced455b0a10f8e7d4575bed65b8dbd (patch)
tree90b4e3ec73a1a4ef64ccdf5dd6458a3f652993dd /device_mapper/all.h
parentd5da55ed85248adb066d293c2a1b863ce17d2779 (diff)
downloadlvm2-962a3eb3faced455b0a10f8e7d4575bed65b8dbd.tar.gz
device_mapper: remove c++ guards from the header
This isn't a public header anymore, so not needed.
Diffstat (limited to 'device_mapper/all.h')
-rw-r--r--device_mapper/all.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/device_mapper/all.h b/device_mapper/all.h
index b1d5a8c0e..ca0dbc79d 100644
--- a/device_mapper/all.h
+++ b/device_mapper/all.h
@@ -43,10 +43,6 @@
#define DM_ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0]))
-#ifdef __cplusplus
-extern "C" {
-#endif
-
/*****************************************************************
* The first section of this file provides direct access to the
* individual device-mapper ioctls. Since it is quite laborious to
@@ -3518,7 +3514,4 @@ int dm_udev_wait_immediate(uint32_t cookie, int *ready);
#define DM_DEV_DIR_UMASK 0022
#define DM_CONTROL_NODE_UMASK 0177
-#ifdef __cplusplus
-}
-#endif
#endif /* LIB_DEVICE_MAPPER_H */