From owner-freebsd-current Sun Oct 20 13:56:28 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0DF4B37B401 for ; Sun, 20 Oct 2002 13:56:27 -0700 (PDT) Received: from flamingo.mail.pas.earthlink.net (flamingo.mail.pas.earthlink.net [207.217.120.232]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5FB5B43E75 for ; Sun, 20 Oct 2002 13:56:26 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from pool0230.cvx22-bradley.dialup.earthlink.net ([209.179.198.230] helo=mindspring.com) by flamingo.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 183N7X-00039N-00; Sun, 20 Oct 2002 13:56:24 -0700 Message-ID: <3DB3182E.5FB00E59@mindspring.com> Date: Sun, 20 Oct 2002 13:55:10 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Kris Kennaway Cc: current@FreeBSD.org Subject: Re: Conflicting declarations for ffs() References: <20021020100158.GA18938@xor.obsecurity.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Kris Kennaway wrote: > Take a look at: > > http://bento.freebsd.org/errorlogs/5-full/cqcam-0.91_1.log > > This port includes headers that declare the ffs() function twice: once > with an inline version and once with a prototype. > > Is the bug in the application, or the headers? The application, for including both sets of headers, or not defining _ANSI_SOURCE or _POSIX_SOURCE, or both, before including strings.h (which is supposed to be string.h, anyway). -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message