The code below gives the error: 

```
sketch_jul05a:2: error: variable or field 'func' declared void

```

So my question is: how can I pass a pointer to a struct as a function parameter?

Code:

```
typedef struct
{ int a,b;
} Struc;

void func(Struc *p) {  }

void setup() {
  Struc s;
  func(&s);
}

void loop()
{
}

```