aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authororbitz <orbitz@gmail.com>2013-12-29 12:48:16 +0100
committerorbitz <orbitz@gmail.com>2013-12-29 12:48:16 +0100
commit0c9de1b1b31ded62c0307055f7d8e0c2ff39955d (patch)
treeb91f223a1e15d1f752e9cbb29e6bf1f886c50c00
parent245070959882e602e021356220f115a4f7449720 (diff)
Cleanup useless const decorators
-rw-r--r--kmer_utils.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/kmer_utils.h b/kmer_utils.h
index 762c20c..9f4d34f 100644
--- a/kmer_utils.h
+++ b/kmer_utils.h
@@ -1,12 +1,11 @@
// Kmer functions
-void convert_kmer_to_num(char *str, const unsigned long length);
-unsigned long num_to_index(const char *str, const int kmer, const long error_pos);
+void convert_kmer_to_num(char *str, unsigned long length);
+unsigned long num_to_index(const char *str, const int kmer, long error_pos);
char *index_to_kmer(unsigned long long index, long kmer);
-unsigned long long * get_kmer_counts_from_file(const char *fn, const int kmer);
+unsigned long long * get_kmer_counts_from_file(FILE *fh, int kmer);
// Utility functions
char *strnstrip(const char *s, char *dest, int c, int len);
-inline unsigned long long pow_four(unsigned long long x);
+unsigned long long pow_four(unsigned long long x);
-// Variables
-const unsigned char alpha[256];
+extern const unsigned char alpha[256];