From d0ccd4a1bac420ebd452e84e234da175b6680cb0 Mon Sep 17 00:00:00 2001 From: Robyn Ffrancon Date: Thu, 22 Feb 2018 12:49:46 +0000 Subject: [PATCH] fix: use of inline keyword is different beyond gnu11; removed inline keyword, compiler optimisation O3 should inline if possible --- include/cortex_var/core/error_correction.h | 2 +- src/cortex_var/core/error_correction.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/cortex_var/core/error_correction.h b/include/cortex_var/core/error_correction.h index 37e48d5f..e2c05a19 100644 --- a/include/cortex_var/core/error_correction.h +++ b/include/cortex_var/core/error_correction.h @@ -75,7 +75,7 @@ void error_correct_list_of_files(StrBuf* list_fastq,char quality_cutoff, char as boolean add_greedy_bases_for_better_bwt_compression, int num_greedy_bases, boolean rev_comp_read_if_on_reverse_strand); -inline void error_correct_file_against_graph(char* fastq_file, char quality_cutoff, char ascii_qual_offset, +void error_correct_file_against_graph(char* fastq_file, char quality_cutoff, char ascii_qual_offset, dBGraph *db_graph, char* outfile, uint64_t *bases_modified_count_array,//distribution across reads; how many of the read_length bases are fixed uint64_t *posn_modified_count_array,//where in the read are we making corrections? diff --git a/src/cortex_var/core/error_correction.c b/src/cortex_var/core/error_correction.c index e3a9adc8..f637483c 100644 --- a/src/cortex_var/core/error_correction.c +++ b/src/cortex_var/core/error_correction.c @@ -101,7 +101,7 @@ void error_correct_list_of_files(StrBuf* list_fastq,char quality_cutoff, char as } //outputs fastQ unless add_greedy_bases_for_better_bwt_compression==true, in which case is for 1000genomes, and they want fastA -inline void error_correct_file_against_graph(char* fastq_file, char quality_cutoff, char ascii_qual_offset, +void error_correct_file_against_graph(char* fastq_file, char quality_cutoff, char ascii_qual_offset, dBGraph *db_graph, char* outfile, uint64_t *bases_modified_count_array,//distribution across reads; how many of the read_length bases are fixed uint64_t *posn_modified_count_array,//where in the read are we making corrections?