X-Git-Url: https://git.openssl.org/gitweb/?a=blobdiff_plain;f=test%2Ftime_offset_test.c;h=7da75fe9332e95d3fc8bc7ee730e3394d722cb0c;hb=2de64666a07cccf8477e6483de62ae31f463df64;hp=b7f1e87367a6e2a0783fb27a3266a9894b78bdef;hpb=cf37aaa335965902c6a022bc3c3e0162f59c0f3a;p=openssl.git diff --git a/test/time_offset_test.c b/test/time_offset_test.c index b7f1e87367..7da75fe933 100644 --- a/test/time_offset_test.c +++ b/test/time_offset_test.c @@ -1,7 +1,7 @@ /* - * Copyright 2017 The OpenSSL Project Authors. All Rights Reserved. + * Copyright 2017-2018 The OpenSSL Project Authors. All Rights Reserved. * - * Licensed under the OpenSSL license (the "License"). You may not use + * Licensed under the Apache License 2.0 (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy * in the file LICENSE in the source distribution or at * https://www.openssl.org/source/license.html @@ -16,7 +16,7 @@ #include #include #include "testutil.h" -#include "e_os.h" +#include "internal/nelem.h" typedef struct { const char *data; @@ -106,7 +106,7 @@ static int test_offset(int idx) return 1; } -int setup_tests() +int setup_tests(void) { ADD_ALL_TESTS(test_offset, OSSL_NELEM(tests)); return 1;