From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 20 20:57:41 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7B6C316A4CE for ; Sun, 20 Feb 2005 20:57:41 +0000 (GMT) Received: from mail.foolishgames.com (mail.foolishgames.com [216.55.178.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2098143D31 for ; Sun, 20 Feb 2005 20:57:41 +0000 (GMT) (envelope-from luke@foolishgames.com) Received: from [192.168.0.49] (24.247.120.6.kzo.mi.chartermi.net [24.247.120.6]) (authenticated bits=0)j1KKvdtG052243 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO); Sun, 20 Feb 2005 12:57:40 -0800 (PST) (envelope-from luke@foolishgames.com) X-Authentication-Warning: mail.foolishgames.com: Host 24.247.120.6.kzo.mi.chartermi.net [24.247.120.6] claimed to be [192.168.0.49] Message-Id: <619f5288d0257800fd01aff62e2905c1@foolishgames.com> X-Habeas-Swe-6: email in exchange for a license for this Habeas X-Habeas-Swe-3: like Habeas SWE (tm) Date: Sun, 20 Feb 2005 15:57:37 -0500 X-Habeas-Swe-8: Message (HCM) and not spam. Please report use of this From: Lucas Holt X-Habeas-Swe-5: Sender Warranted Email (SWE) (tm). The sender of this X-Habeas-Swe-2: brightly anticipated In-Reply-To: References: <4218B960.1050403@kaqelectronics.dyndns.org> <4218E5C8.1050900@comcast.net> <200502201208.18130.reso3w83@verizon.net> To: Richard Sharpe X-Habeas-Swe-7: warrant mark warrants that this is a Habeas Compliant Mime-Version: 1.0 (Apple Message framework v619.2) X-Habeas-Swe-4: Copyright 2002 Habeas (tm) Content-Type: text/plain; charset=US-ASCII; format=flowed X-Habeas-Swe-1: winter into spring Content-Transfer-Encoding: 7bit X-Habeas-Swe-9: mark in spam to . X-Mailer: Apple Mail (2.619.2) cc: freebsd-hackers@freebsd.org cc: "Michael C. Shultz" Subject: Re: Error in my C programming X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2005 20:57:41 -0000 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)