summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2015-05-06 17:05:38 +0100
committerTom Hacohen <tom@stosb.com>2015-05-06 17:05:38 +0100
commit875bc1514604dca87f19270694bcede4b2434dc2 (patch)
tree43b6f028c4009b87800f0f95e82a396277e52ec4 /src
parent3dae6d9209637cf0f28d7a416c1ef6cbca787ced (diff)
Eo tests: Add the needed define for accessing protected calls.
Fixes the warnings. Thanks to cedric for reporting.
Diffstat (limited to 'src')
-rw-r--r--src/tests/eo/composite_objects/composite_objects_main.c2
-rw-r--r--src/tests/eo/suite/eo_test_general.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/tests/eo/composite_objects/composite_objects_main.c b/src/tests/eo/composite_objects/composite_objects_main.c
index 0db210ac45..9f9741c515 100644
--- a/src/tests/eo/composite_objects/composite_objects_main.c
+++ b/src/tests/eo/composite_objects/composite_objects_main.c
@@ -2,6 +2,8 @@
2# include <config.h> 2# include <config.h>
3#endif 3#endif
4 4
5#define EO_BASE_PROTECTED
6
5#include "Eo.h" 7#include "Eo.h"
6#include "composite_objects_simple.h" 8#include "composite_objects_simple.h"
7#include "composite_objects_comp.h" 9#include "composite_objects_comp.h"
diff --git a/src/tests/eo/suite/eo_test_general.c b/src/tests/eo/suite/eo_test_general.c
index baef2fe569..684a05c94d 100644
--- a/src/tests/eo/suite/eo_test_general.c
+++ b/src/tests/eo/suite/eo_test_general.c
@@ -4,6 +4,8 @@
4 4
5#include <stdio.h> 5#include <stdio.h>
6 6
7#define EO_BASE_PROTECTED
8
7#include "Eo.h" 9#include "Eo.h"
8#include "eo_suite.h" 10#include "eo_suite.h"
9#include "eo_test_class_simple.h" 11#include "eo_test_class_simple.h"