From 481b57a96a9ef29b112caec1bb3e17ffb043ceae Mon Sep 17 00:00:00 2001 From: Joseph Redmon <pjreddie@gmail.com> Date: Sun, 25 Sep 2016 06:12:54 +0000 Subject: [PATCH] So I have this new programming paradigm....... --- src/utils.h | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/utils.h b/src/utils.h index 3f0233a..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); @@ -57,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