From 146a14bb13cee87830babc58931c6cfc94c1bba2 Mon Sep 17 00:00:00 2001
From: James Willis <james.s.willis@durham.ac.uk>
Date: Mon, 5 Dec 2016 16:21:52 +0000
Subject: [PATCH] Declared global profiler.

---
 examples/main.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/examples/main.c b/examples/main.c
index dcc113ab6a..11163b4252 100644
--- a/examples/main.c
+++ b/examples/main.c
@@ -45,6 +45,9 @@
 #define ENGINE_POLICY engine_policy_none
 #endif
 
+/* Global profiler. */
+struct profiler prof;
+
 /**
  * @brief Help messages for the command line parameters.
  */
-- 
GitLab