summaryrefslogtreecommitdiff
path: root/src/check-has-hidden-symbols.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2008-01-11 21:13:05 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2008-01-11 21:21:34 +0000
commited113ef4229e23d137b2673f233a23064f51ff24 (patch)
tree7bb012ce65d5ef62be35d53aa721241600add9a4 /src/check-has-hidden-symbols.c
parentbcf0c442b91b553b226c78d254906f7127013391 (diff)
downloadcairo-ed113ef4229e23d137b2673f233a23064f51ff24.tar.gz
[check] Move the hidden symbol check into check-{def,plt}.sh
Behdad, once again the arbiter of good taste, objected to the use of the dotfile within the Makefile, and suggested that one calls $MAKE to pre-process the source file from within the check scripts. Doing so removes the ugly wart added to Makefile.am...
Diffstat (limited to 'src/check-has-hidden-symbols.c')
-rw-r--r--src/check-has-hidden-symbols.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/check-has-hidden-symbols.c b/src/check-has-hidden-symbols.c
index 2fb120d87..120412776 100644
--- a/src/check-has-hidden-symbols.c
+++ b/src/check-has-hidden-symbols.c
@@ -1,12 +1,3 @@
#include "cairoint.h"
-#if CAIRO_HAS_HIDDEN_SYMBOLS
-extern cairo_public int cairo_has_hidden_symbols;
-int cairo_has_hidden_symbols;
-#endif
-
-int
-main (void)
-{
- return 0;
-}
+CAIRO_HAS_HIDDEN_SYMBOLS