Francois Gouget : regstr. h only defines constants and structures and thus does not need an extern "C " statement.

Alexandre Julliard julliard at winehq.org
Fri Sep 21 07:23:01 CDT 2007


Module: wine
Branch: master
Commit: 2b891021275a8ce3f3ce92303c4efe8d287a9e7c
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=2b891021275a8ce3f3ce92303c4efe8d287a9e7c

Author: Francois Gouget <fgouget at free.fr>
Date:   Thu Sep 20 21:35:31 2007 +0200

regstr.h only defines constants and structures and thus does not need an extern "C" statement.

---

 include/regstr.h |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/include/regstr.h b/include/regstr.h
index ef6cf99..99df694 100644
--- a/include/regstr.h
+++ b/include/regstr.h
@@ -21,9 +21,6 @@
 #ifndef _INC_REGSTR
 #define _INC_REGSTR
 
-#ifdef __cplusplus
-extern "C" {
-#endif /* defined(__cplusplus) */
 
 #define REGSTR_PATH_UNINSTALL			TEXT("Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall")
 
@@ -32,8 +29,5 @@ extern "C" {
 /* UninstallString <= 63 chars in Windows (otherwise problems) */
 #define REGSTR_VAL_UNINSTALLER_COMMANDLINE	TEXT("UninstallString")
 
-#ifdef __cplusplus
-} /* extern "C" */
-#endif /* defined(__cplusplus) */
 
 #endif  /* _INC_REGSTR_H */




More information about the wine-cvs mailing list