it says argument list syntax error in the line colored red...whats wrong with my code??
Code:
#include <stdio.h>
#include <stdlib.h>

typedef struct
{
    int x;
    struct node *next;
}node;

node nd;

void insert_list(nd **head, int num)
{
    nd *p, temp;
    temp = (nd *)malloc(sizeof(nd));
    temp->x = num;
}