]> git.eshelyaron.com Git - emacs.git/commitdiff
* src/haikugui.h [_cplusplus]: Remove extern "C" declarations.
authorPo Lu <luangruo@yahoo.com>
Thu, 10 Feb 2022 03:25:19 +0000 (03:25 +0000)
committerPo Lu <luangruo@yahoo.com>
Thu, 10 Feb 2022 03:25:19 +0000 (03:25 +0000)
These were left over from an old implementation strategy
abandoned long before the port was installed.

src/haikugui.h

index b744885a42bd3d2b61d8135950da996851afe2f8..a6cf3a4e6ce54bfcb3e86ab6a2a7854ab43f668e 100644 (file)
@@ -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_ */