diff options
author | Calvin Morrison <mutantturkey@gmail.com> | 2014-02-01 23:58:00 -0500 |
---|---|---|
committer | Calvin Morrison <mutantturkey@gmail.com> | 2014-02-01 23:58:00 -0500 |
commit | 8669fb83a1020550512b6190ee13393a247ca924 (patch) | |
tree | 380d285e0b592578e8882198846c065aa59989f6 /kmer_utils.h | |
parent | d682d6804840e95b31062b55faad5af132b36613 (diff) |
remove str alloc and replace inside s for strstr
Diffstat (limited to 'kmer_utils.h')
-rw-r--r-- | kmer_utils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kmer_utils.h b/kmer_utils.h index 3caa8de..d71a607 100644 --- a/kmer_utils.h +++ b/kmer_utils.h @@ -4,7 +4,7 @@ unsigned long num_to_index(const char *str, const int kmer, const long error_pos char *index_to_kmer(unsigned long long index, long kmer); // Utility functions -char *strnstrip(const char *s, char *dest, int c, int len); +size_t strnstrip(char *s, int c, size_t len); unsigned long long pow_four(unsigned long long x); // Variables |