aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorKristian Evers <kristianevers@gmail.com>2020-11-14 22:55:31 +0100
committerKristian Evers <kristianevers@gmail.com>2020-11-20 16:40:40 +0100
commitaa46197d66ce70ece382bf955326c46b13f35864 (patch)
treee5d8335af87de784ce93c9e686f5ff323ff27936 /test
parente2dd223c5601b387cd622b88583e857b03e9fade (diff)
downloadPROJ-aa46197d66ce70ece382bf955326c46b13f35864.tar.gz
PROJ-aa46197d66ce70ece382bf955326c46b13f35864.zip
Weed out proj_api.h datatypes and replace them with their proj.h counterparts
Diffstat (limited to 'test')
-rw-r--r--test/fuzzers/standard_fuzzer.cpp4
-rw-r--r--test/unit/pj_phi2_test.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/test/fuzzers/standard_fuzzer.cpp b/test/fuzzers/standard_fuzzer.cpp
index ab30200b..d54caa79 100644
--- a/test/fuzzers/standard_fuzzer.cpp
+++ b/test/fuzzers/standard_fuzzer.cpp
@@ -94,13 +94,13 @@ int LLVMFuzzerTestOneInput(const uint8_t *buf, size_t len)
}
second_newline[0] = 0;
char* third_line = second_newline + 1;
- projPJ pj_src = pj_init_plus(first_line);
+ PJ *pj_src = pj_init_plus(first_line);
if( !pj_src )
{
free(buf_dup);
return 0;
}
- projPJ pj_dst = pj_init_plus(second_line);
+ PJ *pj_dst = pj_init_plus(second_line);
if( !pj_dst )
{
free(buf_dup);
diff --git a/test/unit/pj_phi2_test.cpp b/test/unit/pj_phi2_test.cpp
index b4e6b68f..7ccbb01c 100644
--- a/test/unit/pj_phi2_test.cpp
+++ b/test/unit/pj_phi2_test.cpp
@@ -37,7 +37,7 @@
namespace {
TEST(PjPhi2Test, Basic) {
- projCtx ctx = pj_get_default_ctx();
+ PJ_CONTEXT *ctx = pj_get_default_ctx();
// Expectation is that only sane values of e (and nan is here reckoned to
// be sane) are passed to pj_phi2. Thus the return value with other values