I'm trying to call a function in the main()....using the variables in the structure....

but i have an error anb i'm unable to correct it....i will be glad if u help me in correcting them...this is my code:
CODE
#include<stdio.h>
//#include<conion.h>
void main()
{
struct customer
{
char name[10],street[10],id[5];
long int mobile,pn,pob;
}c1;
printf("Please enter the customer ID\t");
gets(c1.id);
printf("\nPlease enter the customer name\t");
gets(c1.name);
printf("\nPlease enter the customer street\t");
gets(c1.street);
printf("\nPlease enter the customer mobilephone number\t");
scanf("%li",&c1.mobile);
fflush(stdin);
printf("\nPlease enter the customer passport number\t");
scanf("%li",&c1.pn);
printf("\nPlease enter the customer post box numbe\t");
scanf("%li",&c1.pob);
void display(char,char,char,long int,long int, long int);
display(c1.id,c1.name,c1.street,c1.mobile,c1.pn,c1.pob);
}
void display(char a,char b,char c,long int d,long int e, long int f)
{
//clrscr();
printf("\nThe customer ID is %s",a);
printf("\nThe customer name is %s",B);
printf("\nThe customer street is %s",c);
printf("\nThe customer mobile phone numberis %li",d);
printf("\nThe customer passport number is %li",e);
printf("\nThe customer post box number is %li",f);
}
i have encluded my message of the syntax error..