[PATCH 14/41] libmultipath: rename _NVME_LIB_C

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Martin Wilck <mwilck@xxxxxxxx>
---
 libmultipath/nvme-lib.c | 2 +-
 libmultipath/nvme-lib.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libmultipath/nvme-lib.c b/libmultipath/nvme-lib.c
index f30e769..0c2be4f 100644
--- a/libmultipath/nvme-lib.c
+++ b/libmultipath/nvme-lib.c
@@ -1,6 +1,6 @@
 #include <sys/types.h>
 /* avoid inclusion of standard API */
-#define _NVME_LIB_C 1
+#define NVME_LIB_C 1
 #include "nvme-lib.h"
 #include "nvme-ioctl.c"
 #include "debug.h"
diff --git a/libmultipath/nvme-lib.h b/libmultipath/nvme-lib.h
index 059dca8..6aa9bd2 100644
--- a/libmultipath/nvme-lib.h
+++ b/libmultipath/nvme-lib.h
@@ -16,7 +16,7 @@ int libmp_nvme_ana_log(int fd, void *ana_log, size_t ana_log_len, int rgo);
  */
 int nvme_id_ctrl_ana(int fd, struct nvme_id_ctrl *ctrl);
 
-#ifndef _NVME_LIB_C
+#ifndef NVME_LIB_C
 /*
  * In all files except nvme-lib.c, the nvme functions can be called
  * by their usual name.
-- 
2.46.0





[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux