Skip to content
Snippets Groups Projects
Commit 1ef15711 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Update the newly-added unit test to compile with the new strict prototype flag.

parent 66515dbb
No related branches found
No related tags found
No related merge requests found
......@@ -274,5 +274,5 @@ int main(int argc, char *argv[]) {
return 0;
}
#else
int main() { return 0; }
int main(int argc, char *argv[]) { return 0; }
#endif
......@@ -35,7 +35,6 @@ int main(int argc, char *argv[]) { return 0; }
#include "runner_doiact_fft.h"
#include "swift.h"
__attribute__((always_inline)) INLINE static int row_major_id(int i, int j,
int k, int N) {
return (((i + N) % N) * N * N + ((j + N) % N) * N + ((k + N) % N));
......
......@@ -748,6 +748,6 @@ int main(int argc, char *argv[]) {
#else
int main() { return 1; }
int main(int argc, char *argv[]) { return 1; }
#endif
......@@ -58,7 +58,7 @@ float gadget(float r, float epsilon) {
}
}
int main() {
int main(int argc, char *argv[]) {
const float h = 3.f;
const float r_max = 6.f;
......
......@@ -23,7 +23,7 @@
/**
* @brief Test generic utility functions
*/
int main() {
int main(int argc, char *argv[]) {
/// Test find_value_in_monot_incr_array()
int n = 100;
float array[n];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment