From d8adaf8ea6a31a380f6bf1fe65e88b661d3bb51e Mon Sep 17 00:00:00 2001
From: Joseph Redmon <pjreddie@gmail.com>
Date: Fri, 21 Oct 2016 20:16:43 +0000
Subject: [PATCH] tree stuff

---
 src/utils.h |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/utils.h b/src/utils.h
index ae0cba2..4667634 100644
--- a/src/utils.h
+++ b/src/utils.h
@@ -19,7 +19,7 @@
 void write_all(int fd, char *buffer, size_t bytes);
 int read_all_fail(int fd, char *buffer, size_t bytes);
 int write_all_fail(int fd, char *buffer, size_t bytes);
-char *find_replace(char *str, char *orig, char *rep);
+void find_replace(char *str, char *orig, char *rep, char *output);
 void error(const char *s);
 void malloc_error();
 void file_error(char *s);
@@ -42,6 +42,7 @@
 float rand_normal();
 size_t rand_size_t();
 float rand_uniform(float min, float max);
+float rand_scale(float s);
 int rand_int(int min, int max);
 float sum_array(float *a, int n);
 float mean_array(float *a, int n);
@@ -56,6 +57,7 @@
 int find_arg(int argc, char* argv[], char *arg);
 char *find_char_arg(int argc, char **argv, char *arg, char *def);
 int sample_array(float *a, int n);
+void print_statistics(float *a, int n);
 
 #endif
 

--
Gitblit v1.10.0