title: Forward declare a struct in C
body: <p>How do I forward declare the following <code>treeNodeListCell</code> struct?</p>
  <p>I tried writing <code>struct treeNodeListCell</code> before the struct definitions and the code doesn't compile.</p>
  <p>Does anyone have an idea?</p>
  <pre><code>struct treeNodeListCell;
  
  typedef struct _treeNode {
      treeNodeListCell *next_possible_positions;
  } treeNode;
  
  typedef struct _treeNodeListCell {
      treeNode *node;
      struct _treeNodeListCell *next;
  } treeNodeListCell;
  </code></pre>