Pomocy, co jest nie tak z ta funkcja ? Wyswietla mi sie blad: undefined reference to 'WinMain@16'
#include <stdio.h>
#include <stdlib.h>
typedef struct ElemListy {
int wartosc;
struct ElemListy *nast;
} ElemListy;
typedef struct Lista {
ElemListy *poczatek;
ElemListy *koniec;
} Lista;
void UsunPoczatek(Lista *l){
ElemListy *tmp = l;
if (l != NULL){
l = l->poczatek->nast;
free(tmp);
}