diff options
Diffstat (limited to 'meta-oe/recipes-support/multipath-tools/files/0002-multipath-tools-remove-c-from-__cpluscplus-misspelle.patch')
-rw-r--r-- | meta-oe/recipes-support/multipath-tools/files/0002-multipath-tools-remove-c-from-__cpluscplus-misspelle.patch | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/meta-oe/recipes-support/multipath-tools/files/0002-multipath-tools-remove-c-from-__cpluscplus-misspelle.patch b/meta-oe/recipes-support/multipath-tools/files/0002-multipath-tools-remove-c-from-__cpluscplus-misspelle.patch deleted file mode 100644 index 73f000aca2..0000000000 --- a/meta-oe/recipes-support/multipath-tools/files/0002-multipath-tools-remove-c-from-__cpluscplus-misspelle.patch +++ /dev/null | |||
@@ -1,33 +0,0 @@ | |||
1 | From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 | ||
2 | From: Xose Vazquez Perez <xose.vazquez@gmail.com> | ||
3 | Date: Tue, 24 Apr 2018 15:03:40 +0200 | ||
4 | Subject: [PATCH] multipath-tools: remove "c" from __cpluscplus, misspelled | ||
5 | |||
6 | found by cppcheck(http://cppcheck.sf.net/): | ||
7 | [libmpathcmd/mpath_cmd.h:24]: (error) Invalid number of character '{' when these macros are defined: '__cpluscplus'. | ||
8 | |||
9 | Cc: Benjamin Marzinski <bmarzins@redhat.com> | ||
10 | Cc: Christophe Varoqui <christophe.varoqui@opensvc.com> | ||
11 | Cc: DM ML <dm-devel@redhat.com> | ||
12 | Signed-off-by: Xose Vazquez Perez <xose.vazquez@gmail.com> | ||
13 | Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com> | ||
14 | --- | ||
15 | libmpathcmd/mpath_cmd.h | 2 +- | ||
16 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
17 | |||
18 | diff --git a/libmpathcmd/mpath_cmd.h b/libmpathcmd/mpath_cmd.h | ||
19 | index 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 | -- | ||
32 | 2.7.4 | ||
33 | |||