aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authororbitz <orbitz@gmail.com>2013-12-29 12:42:26 +0100
committerorbitz <orbitz@gmail.com>2013-12-29 12:42:26 +0100
commit245070959882e602e021356220f115a4f7449720 (patch)
tree0072597e478ee288772063b12543ab8db7e3ee0f
parent5a5ee6d745bbe6710c19cc0889f0cf1fffb1b271 (diff)
Remove useless inline decorator
-rw-r--r--kmer_utils.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/kmer_utils.c b/kmer_utils.c
index 8066da1..3fd9e4c 100644
--- a/kmer_utils.c
+++ b/kmer_utils.c
@@ -6,7 +6,7 @@
#include "kmer_total_count.h"
-const unsigned char alpha[256] =
+static const unsigned char alpha[256] =
{5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
@@ -24,15 +24,15 @@ const unsigned char alpha[256] =
5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5};
-const char reverse_alpha[4] = { 'A', 'C', 'G', 'T' };
+static const char reverse_alpha[4] = { 'A', 'C', 'G', 'T' };
-inline unsigned long long pow_four(unsigned long long x) {
+unsigned long long pow_four(unsigned long long x) {
return (unsigned long long)1 << (x * 2);
}
// convert a string of k-mer size base-4 values into a
// base-10 index
-inline unsigned long num_to_index(const char *str, const int kmer, const long error_pos) {
+unsigned long num_to_index(const char *str, const int kmer, const long error_pos) {
int i = 0;
unsigned long out = 0;
unsigned long multiply = 1;
@@ -113,7 +113,7 @@ char *strnstrip(const char *s, char *dest, int c, unsigned long long len) {
return dest;
}
-unsigned long long * get_kmer_counts_from_file(FILE *fh, const unsigned int kmer) {
+unsigned long long *get_kmer_counts_from_file(FILE *fh, const unsigned int kmer) {
char *line = NULL;
size_t len = 0;
ssize_t read;