summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-12-05 09:16:10 +0100
committerMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-12-06 08:04:03 +0100
commitc36e3eda553dd90630930c79b83a69587c152a55 (patch)
tree81aeb3f289cdecaf6871104048ea8c939fd2faa9 /vcl
parentc1699eab389809407990cc8f1dabe46f7edf7a5b (diff)
no need for extern C here
Change-Id: I81a2af7aa5a52a0b19d05a64eacf89ed957a9ce8
Diffstat (limited to 'vcl')
-rw-r--r--vcl/unx/glxtest.cxx9
1 files changed, 0 insertions, 9 deletions
diff --git a/vcl/unx/glxtest.cxx b/vcl/unx/glxtest.cxx
index e3f16f0d32ff..8b9408debadc 100644
--- a/vcl/unx/glxtest.cxx
+++ b/vcl/unx/glxtest.cxx
@@ -93,13 +93,6 @@ x_error_handler(Display *, XErrorEvent *ev)
return 0;
}
-
-// glxtest is declared inside extern "C" so that the name is not mangled.
-// The name is used in build/valgrind/x86_64-redhat-linux-gnu.sup to suppress
-// memory leak errors because we run it inside a short lived fork and we don't
-// care about leaking memory
-extern "C" {
-
void glxtest()
{
// we want to redirect to /dev/null stdout, stderr, and while we're at it,
@@ -243,8 +236,6 @@ void glxtest()
write(write_end_of_the_pipe, buf, length);
}
-}
-
/** \returns true in the child glxtest process, false in the parent process */
bool fire_glxtest_process()
{