include: Remove unneeded extern "C" directives.
Francois Gouget
fgouget at free.fr
Tue Dec 13 14:12:20 CST 2011
These headers don't declare any function, nor do they in the PSDK.
---
As far as I can tell extern "C" only impacts functions. It does not
impact global variables (no decoration for these) or types and function
pointers (not present in the export table).
include/vsstyle.h | 7 -------
include/vssym32.h | 7 -------
2 files changed, 0 insertions(+), 14 deletions(-)
diff --git a/include/vsstyle.h b/include/vsstyle.h
index ce9f7c7..e6fb1a3 100644
--- a/include/vsstyle.h
+++ b/include/vsstyle.h
@@ -19,9 +19,6 @@
#ifndef __VSSTYLE_H__
#define __VSSTYLE_H__
-#ifdef __cplusplus
-extern "C" {
-#endif
#define TMTVS_RESERVEDLOW 100000
#define TMTVS_RESERVEDHIGH 19999
@@ -1739,8 +1736,4 @@ enum CLOSEBUTTONSTATES {
CBS_DISABLED = 4,
};
-#ifdef __cplusplus
-}
-#endif
-
#endif /* __VSSTYLE_H__ */
diff --git a/include/vssym32.h b/include/vssym32.h
index c58be0b..3536462 100644
--- a/include/vssym32.h
+++ b/include/vssym32.h
@@ -21,9 +21,6 @@
#include "vsstyle.h"
-#ifdef __cplusplus
-extern "C" {
-#endif
enum BGTYPE {
BT_IMAGEFILE = 0,
@@ -678,8 +675,4 @@ enum MENUBANDSTATES {
MDS_HOTCHECKED = 6,
};
-#ifdef __cplusplus
-}
-#endif
-
#endif /* __VSSYM32_H__ */
--
1.7.7.3
More information about the wine-patches
mailing list