aboutsummaryrefslogtreecommitdiff
blob: d5bed9ed68130391ce933110528a516963909ccd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
--- a/src/nuc_code.c
+++ b/src/nuc_code.c
@@ -29,6 +29,9 @@
 #include <stdlib.h>
 #include "nuc_code.h"
 
+unsigned int rev_nuc_code[5];
+unsigned int nuc_code[256];
+
 
 /** \fn void init_nuc_code()
  \brief Initializes nucleotide conversion arrays. 
--- a/src/nuc_code.h
+++ b/src/nuc_code.h
@@ -32,14 +32,14 @@
  *
  *
  */
-unsigned int nuc_code[256];
+extern unsigned int nuc_code[256];
 
 /**
  * @brief Converts 0-5 nucleotides into printable ASCII to.
  *
  *
  */
-unsigned int rev_nuc_code[5];
+extern unsigned int rev_nuc_code[5];
 
 void init_nuc_code(void);