aboutsummaryrefslogtreecommitdiffstats
path: root/src/glx/tests
diff options
context:
space:
mode:
Diffstat (limited to 'src/glx/tests')
-rw-r--r--src/glx/tests/clientinfo_unittest.cpp2
-rw-r--r--src/glx/tests/create_context_unittest.cpp2
-rw-r--r--src/glx/tests/fake_glx_screen.h2
-rw-r--r--src/glx/tests/query_renderer_implementation_unittest.cpp2
-rw-r--r--src/glx/tests/query_renderer_unittest.cpp2
5 files changed, 0 insertions, 10 deletions
diff --git a/src/glx/tests/clientinfo_unittest.cpp b/src/glx/tests/clientinfo_unittest.cpp
index b56c94be42e..320e8fcc0ac 100644
--- a/src/glx/tests/clientinfo_unittest.cpp
+++ b/src/glx/tests/clientinfo_unittest.cpp
@@ -23,9 +23,7 @@
#include <gtest/gtest.h>
#include <string.h>
-extern "C" {
#include "glxclient.h"
-}
#include <xcb/glx.h>
diff --git a/src/glx/tests/create_context_unittest.cpp b/src/glx/tests/create_context_unittest.cpp
index 819b0b27dc0..a2590589db2 100644
--- a/src/glx/tests/create_context_unittest.cpp
+++ b/src/glx/tests/create_context_unittest.cpp
@@ -23,10 +23,8 @@
#include <gtest/gtest.h>
#include <string.h>
-extern "C" {
#include "glxclient.h"
#include "glx_error.h"
-}
#include <xcb/glx.h>
#include "mock_xdisplay.h"
diff --git a/src/glx/tests/fake_glx_screen.h b/src/glx/tests/fake_glx_screen.h
index 0249e79bcff..39b250ffc8f 100644
--- a/src/glx/tests/fake_glx_screen.h
+++ b/src/glx/tests/fake_glx_screen.h
@@ -20,9 +20,7 @@
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
-extern "C" {
#include "glxclient.h"
-};
class fake_glx_screen : public glx_screen {
public:
diff --git a/src/glx/tests/query_renderer_implementation_unittest.cpp b/src/glx/tests/query_renderer_implementation_unittest.cpp
index 7f8f3018640..c3f5cc7214a 100644
--- a/src/glx/tests/query_renderer_implementation_unittest.cpp
+++ b/src/glx/tests/query_renderer_implementation_unittest.cpp
@@ -26,13 +26,11 @@
#if defined(GLX_DIRECT_RENDERING) && !defined(GLX_USE_APPLEGL)
-extern "C" {
#include "glxclient.h"
#include "glx_error.h"
#include "dri2.h"
#include "dri_interface.h"
#include "dri2_priv.h"
-}
struct attribute_test_vector {
const char *glx_string;
diff --git a/src/glx/tests/query_renderer_unittest.cpp b/src/glx/tests/query_renderer_unittest.cpp
index 2f3c4ef12ea..dc88cc94f49 100644
--- a/src/glx/tests/query_renderer_unittest.cpp
+++ b/src/glx/tests/query_renderer_unittest.cpp
@@ -24,10 +24,8 @@
#include <signal.h>
#include <setjmp.h>
-extern "C" {
#include "glxclient.h"
#include "glx_error.h"
-}
extern bool GetGLXScreenConfigs_called;
extern struct glx_screen *psc;