diff --git a/test/test_mqtt4async.c b/test/test_mqtt4async.c index 4e780396..cbe12c56 100644 --- a/test/test_mqtt4async.c +++ b/test/test_mqtt4async.c @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2009, 2022 IBM Corp., Ian Craggs + * Copyright (c) 2009, 2024 IBM Corp., Ian Craggs * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v2.0 @@ -601,13 +601,10 @@ exit: return failures; } - - - int main(int argc, char** argv) { int rc = 0; - int (*tests[])() = {NULL, test1, test2}; + int (*tests[])(struct Options) = {NULL, test1, test2}; int i; xml = fopen("TEST-MQTT4sync.xml", "w"); diff --git a/test/test_mqtt4sync.c b/test/test_mqtt4sync.c index 9305af19..5b741b41 100644 --- a/test/test_mqtt4sync.c +++ b/test/test_mqtt4sync.c @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2009, 2022 IBM Corp., Ian Craggs + * Copyright (c) 2009, 2024 IBM Corp., Ian Craggs * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v2.0 @@ -477,7 +477,7 @@ exit: int main(int argc, char** argv) { int rc = 0; - int (*tests[])() = {NULL, test1, test2}; + int (*tests[])(struct Options) = {NULL, test1, test2}; int i; xml = fopen("TEST-MQTT4sync.xml", "w");