src/utils.h
@@ -40,10 +40,12 @@ int read_all_fail(int fd, char *buffer, size_t bytes); int write_all_fail(int fd, char *buffer, size_t bytes); void find_replace(char *str, char *orig, char *rep, char *output); void replace_image_to_label(char *input_path, char *output_path); void error(const char *s); void malloc_error(); void file_error(char *s); void strip(char *s); void strip_args(char *s); void strip_char(char *s, char bad); void top_k(float *a, int n, int k, int *index); list *split_str(char *s, char delim);