]> sourceware.org Git - lvm2.git/commitdiff
device_mapper: remove c++ guards from the header
authorJoe Thornber <ejt@redhat.com>
Fri, 8 Jun 2018 12:44:43 +0000 (13:44 +0100)
committerJoe Thornber <ejt@redhat.com>
Fri, 8 Jun 2018 12:44:43 +0000 (13:44 +0100)
This isn't a public header anymore, so not needed.

device_mapper/all.h

index b1d5a8c0e6205a947a6fbd6bc6f46960e75a227c..ca0dbc79d4dbe201aa5efc7dfcfb183c3de84708 100644 (file)
 
 #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 */
This page took 0.0421 seconds and 5 git commands to generate.