aboutsummaryrefslogtreecommitdiff
path: root/tests/include
diff options
context:
space:
mode:
authorGanesh Viswanathan <dev@genotrance.com>2019-05-07 00:43:36 -0500
committerGanesh Viswanathan <dev@genotrance.com>2019-05-07 00:43:36 -0500
commit69cfce561a2114616e57c64effc2f6d36db1967d (patch)
treee3d8938bd23129f10250b4106603b7bdea6da8aa /tests/include
parente851a9adf3d5dbc67886e02150ef873ac02d670f (diff)
downloadnimterop-69cfce561a2114616e57c64effc2f6d36db1967d.tar.gz
nimterop-69cfce561a2114616e57c64effc2f6d36db1967d.zip
Undo volatile testcase
Diffstat (limited to 'tests/include')
-rw-r--r--tests/include/test.c2
-rw-r--r--tests/include/test.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/include/test.c b/tests/include/test.c
index d67fd92..8990df9 100644
--- a/tests/include/test.c
+++ b/tests/include/test.c
@@ -50,7 +50,7 @@ int test_call_param7(union UNION1 param1) {
return param1.field1;
}
-float test_call_param8(int volatile *param1) {
+float test_call_param8(int *param1) {
*param1 = 5 * *param1;
return 1.0 * *param1;
diff --git a/tests/include/test.h b/tests/include/test.h
index 73eb951..8138e54 100644
--- a/tests/include/test.h
+++ b/tests/include/test.h
@@ -109,7 +109,7 @@ ENUM2 test_call_param4(enum ENUM param1);
union UNION1 test_call_param5(float param1);
unsigned char test_call_param6(UNION2 param1);
int test_call_param7(union UNION1 param1);
-float test_call_param8(int volatile *param1);
+float test_call_param8(int *param1);
void *test_call9();
void **test_call10(int **param1);