warning in extern declaration

view full story

http://www.linuxquestions.org – Code: #include<stdio.h> #include<stdlib.h> #define GREY 1 #define BLACK 0 #define WHITE 2 typedef struct node * graph; typedef struct stack * snode; extern int stack_counter; graph cnode(int data);          //cnode is to create a node for graph void cgraph(void); struct node {         int data, color;         struct node *LEFT, *RIGHT, *TOP, *DOWN; };//this structure defines a node of the graph struct stack { struct stack *priv; struct cgraph *graph_node; };// this is to define a structure which should hold node o (HowTos)