emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master c867a43872: * src/haikugui.h [_cplusplus]: Remove extern "C" decl


From: Po Lu
Subject: master c867a43872: * src/haikugui.h [_cplusplus]: Remove extern "C" declarations.
Date: Wed, 9 Feb 2022 22:26:35 -0500 (EST)

branch: master
commit c867a43872e6ac7830bad8842918f337c480c9c5
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>

    * src/haikugui.h [_cplusplus]: Remove extern "C" declarations.
    
    These were left over from an old implementation strategy
    abandoned long before the port was installed.
---
 src/haikugui.h | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/src/haikugui.h b/src/haikugui.h
index b744885a42..a6cf3a4e6c 100644
--- a/src/haikugui.h
+++ b/src/haikugui.h
@@ -19,11 +19,6 @@ along with GNU Emacs.  If not, see 
<https://www.gnu.org/licenses/>.  */
 #ifndef _HAIKU_GUI_H_
 #define _HAIKU_GUI_H_
 
-#ifdef _cplusplus
-extern "C"
-{
-#endif
-
 typedef struct haiku_char_struct
 {
   int rbearing;
@@ -100,7 +95,4 @@ typedef haiku Drawable;
 typedef haiku Window;
 typedef int Display;
 
-#ifdef _cplusplus
-};
-#endif
 #endif /* _HAIKU_GUI_H_ */



reply via email to

[Prev in Thread] Current Thread [Next in Thread]