Skip to contentSkip to conversation

master - device_mapper: remove c++ guards from the header

PATCH Joe Thornber 1 participant 1 message Jun 8, 2018

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=962a3eb3faced455b0a10f8e7d4575bed65b8dbd
Commit:        962a3eb3faced455b0a10f8e7d4575bed65b8dbd
Parent:        d5da55ed85248adb066d293c2a1b863ce17d2779
Author:        Joe Thornber <[email protected]>
AuthorDate:    Fri Jun 8 13:44:43 2018 +0100
Committer:     Joe Thornber <[email protected]>
CommitterDate: Fri Jun 8 13:44:43 2018 +0100

device_mapper: remove c++ guards from the header

This isn't a public header anymore, so not needed.

---
 device_mapper/all.h |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)
device_mapper/all.h +0 -7
index b1d5a8c..ca0dbc7 100644
@@ -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 */