From 99df964c96bc1b715ae6ece47629a5d7afb2a945 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 25 Mar 2019 18:27:37 +0100 Subject: Consolidate declarations of {fire,reap}_glxtest_process in single include file Change-Id: I7f25cba311d42a7e8751cf3651f684b88d1fb8ac Reviewed-on: https://gerrit.libreoffice.org/69711 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- vcl/inc/opengl/x11/glxtest.hxx | 4 ---- vcl/source/salmain/salmain.cxx | 5 +---- vcl/unx/glxtest.cxx | 1 + 3 files changed, 2 insertions(+), 8 deletions(-) (limited to 'vcl') diff --git a/vcl/inc/opengl/x11/glxtest.hxx b/vcl/inc/opengl/x11/glxtest.hxx index d74436aae111..5715a6d9fb19 100644 --- a/vcl/inc/opengl/x11/glxtest.hxx +++ b/vcl/inc/opengl/x11/glxtest.hxx @@ -16,10 +16,6 @@ VCL_DLLPUBLIC int* getGlxPipe(); VCL_DLLPUBLIC pid_t* getGlxPid(); -bool fire_glxtest_process(); - -void reap_glxtest_process(); - #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/vcl/source/salmain/salmain.cxx b/vcl/source/salmain/salmain.cxx index b2b45a89e934..ccf5732260ed 100644 --- a/vcl/source/salmain/salmain.cxx +++ b/vcl/source/salmain/salmain.cxx @@ -23,15 +23,12 @@ #include #include +#include #include #include #include -#if defined( UNX ) && !defined MACOSX && !defined IOS && !defined ANDROID && !defined LIBO_HEADLESS && !defined HAIKU -#include -#endif - SAL_IMPLEMENT_MAIN() { #if defined( UNX ) && !defined MACOSX && !defined IOS && !defined ANDROID && !defined LIBO_HEADLESS && !defined HAIKU fire_glxtest_process(); diff --git a/vcl/unx/glxtest.cxx b/vcl/unx/glxtest.cxx index 38d70aa490e2..b3c6a7521de7 100644 --- a/vcl/unx/glxtest.cxx +++ b/vcl/unx/glxtest.cxx @@ -39,6 +39,7 @@ #include #include +#include // stuff from glx.h typedef struct __GLXcontextRec *GLXContext; -- cgit