I want to declare a self-referential structure as below
typedef struct
{
entry_t *entry;
node_t *next;
}node_t;
instead of as below for a linked-list
struct node
{
entry_t *entry;
struct node *next;
}*head;
does this work in C? If no why not?