title: error: conflicting types for 'add_to_queue'
body: <p>Getting a <code>conflicting types</code> error for the <code>add_to_queue</code> function in the program.  </p>
  
  <p>I copied the node struct and functions.  The header file code is at the bottom.  This code (when finished should emulate 5 paging algorithms using a queue).  It is far from finished.  I'm stuck on creating the queue. </p>
  
  <p>HELP!!!  Thanks.</p>
  
  <pre><code>#include "project2_MLL.h"
  
  
  typedef struct node{
    char data[5];
    struct node* next;
    struct node* prev;
  }nodes;
  
  
  void make_queue(char datas[5]){
    struct node new_node;
    strcpy(new_node.data, datas);
    new_node.next = NULL;
    new_node.prev = NULL;
  }
  
  void add_to_queue(struct node *last, char* datasa[5]){
    struct node newer_node;
    strcpy(newer_node.data, datasa);
    newer_node.next = NULL;
    newer_node.prev = last-&gt;data;
    last-&gt;next = newer_node.data;
  }
  </code></pre>
  
  <p><br></p>
  
  <pre><code>#include &lt;stdlib.h&gt;
  #include &lt;stdio.h&gt;
  #include &lt;string.h&gt;
  #include &lt;math.h&gt;
  #include &lt;stdbool.h&gt;
  
  int num_frames=0;
  int num_page_swaps;
  int* head;
  int* tail;
  int input;
  
  
  void make_queue(char datas[5]);
  void add_to_queue(struct node *last, char* datasa[5]);
  void page_swap(char* frame_table[num_frames][3], char* backing_store[input], int frame_num, int page_num, char page_val);
  bool in_frame(char* frame_table[num_frames][3], char page_val[5]);
  
  int FIFO(char* frame_table[num_frames][3]);
  </code></pre>