title: C argument doesn't match prototype
body: <p>I'm trying to read from a file and insert it into my struct compound variable of 'codon' but I'm getting an error of 'arguments doesn't match prototype'. </p>
  
  <p>Here is my .c:</p>
  
  <pre><code>#include &lt;math.h&gt;
  #include &lt;stdio.h&gt;
  #include "genome.h"
  
  void LoadGeneticCode(filename, c){
      FILE *file = fopen(filename, "r");
  
  }
  int main()
  {
      codon c[64]; //making array of c
      LoadGeneticCode('data.dat', c);
      return 0;
  }
  </code></pre>
  
  <p>.h</p>
  
  <pre><code>typedef struct { char b1,b2,b3; int a;} codon;
  
  void LoadGeneticCode(char *filename, codon c[64]);
  </code></pre>
  
  <p>makefile</p>
  
  <pre><code>HEADERS = genome.h
  
  default: genome
  
  genome.o: genome.c $(HEADERS)
      gcc -c genome.c -o genome.o
  
  genome: genome.o
      gcc  genome.o -o genome
  
  clean:
      -rm -f genome.o
      -rm -f genome
  </code></pre>
  
  <p>I feel like it's a simple type miss match but I'm not sure how to fix it.</p>