guru/sys-cluster/Graph500/files/Graph500-1.2-static-inline.patch
Alessandro Barbieri 3ff3149eea
sys-cluster/Graph500: new package, add 1.2
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
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;