hello all,

I am trying to pass a structure that I defined to another function.  When I
compile using code warrior it tells me that I have an illegal definition in
my prototype.

sample code:

typedef struct
{
    Char a[10];
    Char b[10];
}alpha;


something(alpha);

function()
{
    alpha one;
    Err err = something(one);
}

can someone please help me with this simple but anoyying problem.



Reply via email to