Skip to contentSkip to conversation

multipath-tools: remove "c" from __cpluscplus, misspelled

PATCH New Xose Vazquez Perez 1 participant 1 message Apr 24, 2018 Device mapper

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 multipath-tools: remove "c" from __cpluscplus, misspelled

found by cppcheck(http://cppcheck.sf.net/):
[libmpathcmd/mpath_cmd.h:24]: (error) Invalid number of character '{' when these macros are defined: '__cpluscplus'.

Cc Benjamin Marzinski <[email protected]>
Cc Christophe Varoqui <[email protected]>
---
 libmpathcmd/mpath_cmd.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
libmpathcmd/mpath_cmd.h +1 -1
index b57b708..3df2c97 100644
@@ -20,7 +20,7 @@
 #ifndef LIB_MPATH_CMD_H
 #define LIB_MPATH_CMD_H
 
-#ifdef __cpluscplus
+#ifdef __cplusplus
 extern "C" {
 #endif
 
Signature · 1 line
2.17.0