Error in my C programming

Peter Jeremy PeterJeremy at optushome.com.au
Sun Feb 20 10:32:22 PST 2005


On Mon, 2005-Feb-21 00:22:56 +0800, Kathy Quinlan wrote:
>These are some of the errors I get in pairs for each of the above variables:
>
>Wtrend_Drivers.c:15: conflicting types for `Receiver'
>Wtrend_Drivers.h:9: previous declaration of `Receiver'

Without knowing exactly what is on those lines, it's difficult to offer
any concrete suggestions.

Two possible ways forward:
1) Change the declaration at Wtrend_Drivers.h:9 to be 'extern'
2) Pre-process the source and have a close look at the definitions and
   declarations for Receiver.  You may have a stray #define that is
   confusing the type or a missing semicolon.

Peter


More information about the freebsd-hackers mailing list