Date: Sun, 20 Feb 2005 15:57:37 -0500 From: Lucas Holt <luke@foolishgames.com> To: Richard Sharpe <rsharpe@richardsharpe.com> Cc: "Michael C. Shultz" <reso3w83@verizon.net> Subject: Re: Error in my C programming Message-ID: <619f5288d0257800fd01aff62e2905c1@foolishgames.com> In-Reply-To: <Pine.LNX.4.58.0502201239090.3359@durable> References: <4218B960.1050403@kaqelectronics.dyndns.org> <4218E5C8.1050900@comcast.net> <200502201208.18130.reso3w83@verizon.net> <Pine.LNX.4.58.0502201239090.3359@durable>
next in thread | previous in thread | raw e-mail | index | archive | help
On Feb 20, 2005, at 3:41 PM, Richard Sharpe wrote: > On Sun, 20 Feb 2005, Michael C. Shultz wrote: > >>>>> Here is a section of my code: >>>>> >>>>> *** Wtrend_Drivers.c *** >>>>> >>>>> (12)void Reset_Network (unsigned char Network) >>>>> (13) { >>>>> (14) Length = 0x00; >>>>> (15) Receiver = 0x00; >>>>> (16) Node = 0xFF; >>>>> (17) Command = Reset; >>>>> (18) Make_Packet_Send(Head , Length, Network, Receiver, Node, >>>>> Command, p_Data); >>>>> (19) } >>>>> >>>>> *** Wtrend_Drivers.h *** >>>>> >>>>> unsigned char Length , Network , Receiver , Node , Command = 0x00; >>>>> >>>>> The above is line 9 of the Wtrend_Drivers.h >>>>> The numbers in () I have added to show the line numbers in >>>>> Wtrend_Drivers.c >>>>> >>>>> 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' >>> Kat. >> > Could there be a conflict between Receivers definition and the parameter in Make_Packet_send that uses receiver? Lucas Holt Luke@FoolishGames.com ________________________________________________________ FoolishGames.com (Jewel Fan Site) JustJournal.com (Free blogging) FoolishGames.net (Enemy Territory IoM site)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?619f5288d0257800fd01aff62e2905c1>