From edbccdfcaf46f11e631afe98796f3e6e170da5d0 Mon Sep 17 00:00:00 2001
From: Joseph Redmon <pjreddie@gmail.com>
Date: Sun, 26 Oct 2014 05:04:34 +0000
Subject: [PATCH] Maybe something changed?
---
src/utils.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/src/utils.c b/src/utils.c
index 8a65ba7..a883ad8 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -4,6 +4,11 @@
#include <string.h>
#include <math.h>
+float sec(clock_t clocks)
+{
+ return (float)clocks/CLOCKS_PER_SEC;
+}
+
void error(char *s)
{
fprintf(stderr, "Error: %s\n", s);
--
Gitblit v1.10.0