aboutsummaryrefslogtreecommitdiff
path: root/test/testutil.h
diff options
context:
space:
mode:
authorPauli <paul.dale@oracle.com>2017-07-28 09:26:40 +1000
committerPauli <paul.dale@oracle.com>2017-07-28 09:26:40 +1000
commit735e350555a7f965ccb366afdabe569651d19d82 (patch)
tree9d40d1992541b1f1d7ba3faa91e7c7b9e04937ea /test/testutil.h
parente89f5fb37014514f0c273980c3d6cbedfa73f862 (diff)
downloadopenssl-735e350555a7f965ccb366afdabe569651d19d82.zip
openssl-735e350555a7f965ccb366afdabe569651d19d82.tar.gz
openssl-735e350555a7f965ccb366afdabe569651d19d82.tar.bz2
Formatting & declaration cleanse.
Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/4032)
Diffstat (limited to 'test/testutil.h')
-rw-r--r--test/testutil.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/testutil.h b/test/testutil.h
index 9786579..8387e72 100644
--- a/test/testutil.h
+++ b/test/testutil.h
@@ -142,7 +142,7 @@ const char *test_get_option_argument(const char *option);
* rather link to one of the helper main() methods.
*/
-void add_test(const char *test_case_name, int (*test_fn) ());
+void add_test(const char *test_case_name, int (*test_fn) (void));
void add_all_tests(const char *test_case_name, int (*test_fn)(int idx), int num,
int subtest);
@@ -170,7 +170,7 @@ void cleanup_tests(void);
# endif
#endif
-# define DECLARE_COMPARISON(type, name, opname) \
+# define DECLARE_COMPARISON(type, name, opname) \
int test_ ## name ## _ ## opname(const char *, int, \
const char *, const char *, \
const type, const type);