From: Po Lu Date: Thu, 10 Feb 2022 03:25:19 +0000 (+0000) Subject: * src/haikugui.h [_cplusplus]: Remove extern "C" declarations. X-Git-Tag: emacs-29.0.90~2398 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c867a43872e6ac7830bad8842918f337c480c9c5;p=emacs.git * src/haikugui.h [_cplusplus]: Remove extern "C" declarations. These were left over from an old implementation strategy abandoned long before the port was installed. --- diff --git a/src/haikugui.h b/src/haikugui.h index b744885a42b..a6cf3a4e6ce 100644 --- a/src/haikugui.h +++ b/src/haikugui.h @@ -19,11 +19,6 @@ along with GNU Emacs. If not, see . */ #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_ */