Files
guru/sys-cluster/Graph500/files/Graph500-1.2-static-inline.patch
T
2022-05-24 19:36:37 +02:00

12 lines
276 B
Diff

--- a/generator/generator_test_seq.c
+++ b/generator/generator_test_seq.c
@@ -20,7 +20,7 @@
#include "make_graph.h"
-inline double get_time() {
+static inline double get_time() {
struct timeval tv;
gettimeofday(&tv, NULL);
return tv.tv_sec + tv.tv_usec * 1.e-6;