Hi, I have a small problem compiling my module.

I have an interface (EASAP.nc):

interface EASAP
{
      ...
       command struct Node* findNode(uint8_t id);
      ...
}

And in my module ( EASAPM.nc)
{
   ...
   command struct Slot* EASAPImp.findSlot(uint8_t slot)
   {
    ...
   }

   ...
   command struct Node* EASAP.findNode(uint8_t id)
   {
     ...
   }
}

I am get comiling error:
EASAPM.nc:672: conflicting types for `EASAP.findNode'
EASAP.nc:59: previous declaration of `EASAP.findNode'
make: *** [exe0] Error 1


I can't find a duplicate of the findNode function anywhere. Can anyone see
what I can't?

Thanks,
Inderjir
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to