blob: 73f000aca29efc60262ad9dbca92575996db3a8b [file] [log] [blame]
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08001From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2From: Xose Vazquez Perez <xose.vazquez@gmail.com>
3Date: Tue, 24 Apr 2018 15:03:40 +0200
4Subject: [PATCH] multipath-tools: remove "c" from __cpluscplus, misspelled
5
6found by cppcheck(http://cppcheck.sf.net/):
7[libmpathcmd/mpath_cmd.h:24]: (error) Invalid number of character '{' when these macros are defined: '__cpluscplus'.
8
9Cc: Benjamin Marzinski <bmarzins@redhat.com>
10Cc: Christophe Varoqui <christophe.varoqui@opensvc.com>
11Cc: DM ML <dm-devel@redhat.com>
12Signed-off-by: Xose Vazquez Perez <xose.vazquez@gmail.com>
13Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>
14---
15 libmpathcmd/mpath_cmd.h | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
17
18diff --git a/libmpathcmd/mpath_cmd.h b/libmpathcmd/mpath_cmd.h
19index aaa8da9..df9d938 100644
20--- a/libmpathcmd/mpath_cmd.h
21+++ b/libmpathcmd/mpath_cmd.h
22@@ -20,7 +20,7 @@
23 #ifndef LIB_MPATH_CMD_H
24 #define LIB_MPATH_CMD_H
25
26-#ifdef __cpluscplus
27+#ifdef __cplusplus
28 extern "C" {
29 #endif
30
31--
322.7.4
33