summaryrefslogtreecommitdiff
path: root/tests/compile/excvalcheck.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/compile/excvalcheck.h')
-rw-r--r--tests/compile/excvalcheck.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/compile/excvalcheck.h b/tests/compile/excvalcheck.h
index 4c92acd2b..ba7a760e1 100644
--- a/tests/compile/excvalcheck.h
+++ b/tests/compile/excvalcheck.h
@@ -1,12 +1,6 @@
-#ifdef __cplusplus
-extern "C" {
-#endif
extern DL_EXPORT(int) spam(void);
extern DL_EXPORT(void) grail(void);
extern DL_EXPORT(char *)tomato(void);
-#ifdef __cplusplus
-}
-#endif
int spam(void) {return 0;}
void grail(void) {return;}