summaryrefslogtreecommitdiff
path: root/test/libtest/examples/minimal_example.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/libtest/examples/minimal_example.c')
-rw-r--r--test/libtest/examples/minimal_example.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/test/libtest/examples/minimal_example.c b/test/libtest/examples/minimal_example.c
index 4ad08b4bce06d..3bc76fe66ea99 100644
--- a/test/libtest/examples/minimal_example.c
+++ b/test/libtest/examples/minimal_example.c
@@ -41,10 +41,16 @@
#include "test.h"
/*
+ * Function prototypes.
+ */
+enum test_result tf_helloworld(test_case_state);
+
+/*
* Function names prefixed with 'tf_' name test functions.
*/
enum test_result
-tf_helloworld(testcase_state state)
+tf_helloworld(test_case_state state)
{
+ (void) state;
return (TEST_PASS);
}