nixpkgs/pkgs/development/libraries/lesstif/c-linkage.patch

24 lines
602 B
Diff
Raw Normal View History

--- a/include/Motif-2.1/Xm/VendorSP.h 2006-07-07 15:58:04.000000000 +0200
+++ b/include/Motif-2.1/Xm/VendorSP.h 2006-07-07 15:58:19.000000000 +0200
@@ -30,10 +30,6 @@
#include <Xm/VendorS.h>
#include <X11/ShellP.h>
-#ifdef __cplusplus
-extern "C" {
-#endif
-
XMLIBEXPORT extern Cardinal _XmFilterResources(XtResource *resources,
Cardinal numResources,
WidgetClass filterClass,
@@ -57,9 +53,4 @@
XMLIBEXPORT extern VendorShellClassRec vendorShellClassRec;
-
-#ifdef __cplusplus
-}
-#endif
-
#endif /* _XM_VENDORSP_H */