Skip to content

Instantly share code, notes, and snippets.

@gerdr

gerdr/foo.c Secret

Last active December 20, 2015 21:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gerdr/768564c7282f2bc7a48b to your computer and use it in GitHub Desktop.
Save gerdr/768564c7282f2bc7a48b to your computer and use it in GitHub Desktop.
typedef struct node node;
struct node
{
int value;
node *prev, *next;
};
// even works without typedef
struct node2
{
int value;
struct node2 *prev, *next;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment